summaryrefslogtreecommitdiff
path: root/servers/rendering/renderer_rd/environment
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-09-28 16:20:29 +0200
committerRémi Verschelde <rverschelde@gmail.com>2022-09-28 16:46:48 +0200
commit7ab01450cf465acb5981967e0276881e6d495904 (patch)
tree40993f5750d75d255627dcc8579b4c134cf07a5f /servers/rendering/renderer_rd/environment
parent14e1f36e614686f3fea0c74fac3624d1027dd5cc (diff)
Fix MSVC warning C4702: unreachable code
Part of #66537.
Diffstat (limited to 'servers/rendering/renderer_rd/environment')
-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 {