You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Fix use of unitialized variables
The second in my quest to make Godot 3.x compile with -Werror on GCC7
This commit is contained in:
@@ -659,7 +659,7 @@ void Polygon2DEditor::_uv_draw() {
|
||||
|
||||
if (snap_show_grid) {
|
||||
Size2 s = uv_edit_draw->get_size();
|
||||
int last_cell;
|
||||
int last_cell = 0;
|
||||
|
||||
if (snap_step.x != 0) {
|
||||
for (int i = 0; i < s.width; i++) {
|
||||
|
||||
Reference in New Issue
Block a user