summaryrefslogtreecommitdiff
path: root/servers/rendering/renderer_rd/environment/fog.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-09-28 20:47:30 +0200
committerRémi Verschelde <rverschelde@gmail.com>2022-09-28 20:47:30 +0200
commita9591f30395643b98f9620b8d68a76f74d00b9cf (patch)
treedf790fc67681d06b8e28aba8354c063ffd6ab373 /servers/rendering/renderer_rd/environment/fog.cpp
parent361d9b514ef969a44f596c0bab9c86d9521379f3 (diff)
parent7ab01450cf465acb5981967e0276881e6d495904 (diff)
Merge pull request #66543 from akien-mga/msvc-warning-c4702
Fix MSVC warning C4702: unreachable code
Diffstat (limited to 'servers/rendering/renderer_rd/environment/fog.cpp')
-rw-r--r--servers/rendering/renderer_rd/environment/fog.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/servers/rendering/renderer_rd/environment/fog.cpp b/servers/rendering/renderer_rd/environment/fog.cpp
index a41552cd5c..3390e9cf64 100644
--- a/servers/rendering/renderer_rd/environment/fog.cpp
+++ b/servers/rendering/renderer_rd/environment/fog.cpp
@@ -122,8 +122,6 @@ AABB Fog::fog_volume_get_aabb(RID p_fog_volume) const {
return AABB(Vector3(-1, -1, -1), Vector3(2, 2, 2));
}
}
-
- return AABB();
}
Vector3 Fog::fog_volume_get_extents(RID p_fog_volume) const {