mirror of
https://github.com/coderkei/akmenu-next.git
synced 2025-06-19 09:25:33 -04:00
button: remove unused width variable
Fixes -Wunused-variable warning
This commit is contained in:
parent
bd4b817c87
commit
802463dfe7
@ -174,10 +174,8 @@ void cButtonDesc::draw(const cRect& area, GRAPHICS_ENGINE engine) const {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void cButtonDesc::loadData(const std::string& filename) {
|
void cButtonDesc::loadData(const std::string& filename) {
|
||||||
int width = 40;
|
|
||||||
int height = 16;
|
int height = 16;
|
||||||
if (_button) {
|
if (_button) {
|
||||||
width = _button->size().x;
|
|
||||||
height = _button->size().y;
|
height = _button->size().y;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user