Fix MSVC warnings, rename shadowed variables, fix uninitialized values, change warnings=all to use /W4.

This commit is contained in:
bruvzg
2022-09-29 12:53:28 +03:00
parent 5b7f62af55
commit 0103af1ddd
240 changed files with 3390 additions and 3431 deletions

View File

@ -652,9 +652,9 @@ void RenameDialog::_features_toggled(bool pressed) {
}
// Adjust to minimum size in y
Size2i size = get_size();
size.y = 0;
set_size(size);
Size2i new_size = get_size();
new_size.y = 0;
set_size(new_size);
}
#endif // MODULE_REGEX_ENABLED