summaryrefslogtreecommitdiff
path: root/modules/csg/csg.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2018-10-04 14:19:05 +0200
committerGitHub <noreply@github.com>2018-10-04 14:19:05 +0200
commit181af9b48431a5697056c561c9e2edafc7d738f0 (patch)
treed184ffe31ecab4cbcb194fa67f294b80b505cc51 /modules/csg/csg.cpp
parent674b2567ae9fc367c01de1a70f83a62d8a6de071 (diff)
parentf48ee838e7b88a630f9dea76b697eb4626d69abc (diff)
Merge pull request #22713 from akien-mga/fix-warnings
Fix GCC 8 warnings about potentially unitialized variables
Diffstat (limited to 'modules/csg/csg.cpp')
-rw-r--r--modules/csg/csg.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/csg/csg.cpp b/modules/csg/csg.cpp
index 567485c2c7..f0103bb71d 100644
--- a/modules/csg/csg.cpp
+++ b/modules/csg/csg.cpp
@@ -750,7 +750,7 @@ void CSGBrushOperation::_add_poly_outline(const BuildPoly &p_poly, int p_from_po
t2d.affine_invert();
- float max_angle;
+ float max_angle = 0;
int next_point_angle = -1;
for (int i = 0; i < vertex_process[to_point].size(); i++) {