mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +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:
parent
dac150108a
commit
9c63ab99f0
38 changed files with 129 additions and 86 deletions
|
|
@ -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++) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue