Fix another clang-scan warning

This commit is contained in:
Robin Gareus 2020-01-27 03:32:18 +01:00
parent fc7dd5115d
commit 6aac8b2c8a
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04
1 changed files with 2 additions and 0 deletions

View File

@ -917,6 +917,8 @@ APianoKeyboard::recompute_dimensions ()
}
}
assert (number_of_white_keys > 0);
int width = get_width ();
int height = get_height ();