Appease some CppCheck warns for files in the "scene" directory

This commit is contained in:
Michael Alexsander Silva Dias
2019-01-14 20:04:47 -02:00
parent 9c1768836f
commit 9c69d7f339
10 changed files with 24 additions and 39 deletions

View File

@@ -271,7 +271,6 @@ void ScrollContainer::_notification(int p_what) {
}
if (!scroll_v || (!v_scroll->is_visible_in_tree() && c->get_v_size_flags() & SIZE_EXPAND)) {
r.position.y = 0;
r.size.height = size.height;
if (c->get_v_size_flags() & SIZE_EXPAND)
r.size.height = MAX(size.height, minsize.height);
else