Menu: Fix dead store
Fix value stored to 'flags' is never read. Pointed out by Clang Static Analyzer. Change-Id: Ia154fbdd4dd5fb10716cf9079625ca65e2f58122 Reviewed-on: https://review.haiku-os.org/c/haiku/+/3472 Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
This commit is contained in:
parent
6336b86ab8
commit
2db8ba2c8d
@ -1426,7 +1426,7 @@ BMenu::DrawBackground(BRect updateRect)
|
||||
borders |= BControlLook::B_TOP_BORDER
|
||||
| BControlLook::B_BOTTOM_BORDER;
|
||||
}
|
||||
be_control_look->DrawMenuBackground(this, rect, updateRect, base, 0,
|
||||
be_control_look->DrawMenuBackground(this, rect, updateRect, base, flags,
|
||||
borders);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user