diff options
| author | Rémi Verschelde <rverschelde@gmail.com> | 2018-10-04 14:19:05 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-10-04 14:19:05 +0200 |
| commit | 181af9b48431a5697056c561c9e2edafc7d738f0 (patch) | |
| tree | d184ffe31ecab4cbcb194fa67f294b80b505cc51 /modules/csg/csg.cpp | |
| parent | 674b2567ae9fc367c01de1a70f83a62d8a6de071 (diff) | |
| parent | f48ee838e7b88a630f9dea76b697eb4626d69abc (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.cpp | 2 |
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++) { |