mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Various fixes detected using PVS-Studio static analyzer.
- Add FIXME tags comments to some unfixed potential bugs - Remove some checks (always false: unsigned never < 0) - Fix some if statements based on reviews. - Bunch of missing `else` statements
This commit is contained in:
committed by
REBELLIOUSX\Rebel_X
parent
0f8c6dd382
commit
f50488a361
@@ -201,7 +201,7 @@ void AcceptDialog::_notification(int p_what) {
|
||||
if (p_what==NOTIFICATION_MODAL_CLOSE) {
|
||||
|
||||
cancel_pressed();
|
||||
} if (p_what==NOTIFICATION_RESIZED) {
|
||||
} else if (p_what==NOTIFICATION_RESIZED) {
|
||||
|
||||
_update_child_rects();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user