diff --git a/src/gmenu2x.cpp b/src/gmenu2x.cpp index ce620ad..8e710d3 100644 --- a/src/gmenu2x.cpp +++ b/src/gmenu2x.cpp @@ -356,6 +356,7 @@ void GMenu2X::initBG() { serviceX -= 19; } } + (void)serviceX; bgmain->convertToDisplayFormat(); } diff --git a/src/linkapp.cpp b/src/linkapp.cpp index 62145b3..1cbc516 100644 --- a/src/linkapp.cpp +++ b/src/linkapp.cpp @@ -496,6 +496,7 @@ void LinkApp::showManual() { x = gmenu2x.drawButton(s, "right", gmenu2x.tr["Change page"], x); x = gmenu2x.drawButton(s, "cancel", "", x); x = gmenu2x.drawButton(s, "start", gmenu2x.tr["Exit"], x); + (void)x; ss.clear(); ss << page+1; diff --git a/src/selector.cpp b/src/selector.cpp index edf8f48..8f92dba 100644 --- a/src/selector.cpp +++ b/src/selector.cpp @@ -74,6 +74,7 @@ int Selector::exec(int startSelection) { x = gmenu2x.drawButton(bg, "cancel", "", x); } x = gmenu2x.drawButton(bg, "start", gmenu2x.tr["Exit"], x); + (void)x; unsigned int top, height; tie(top, height) = gmenu2x.getContentArea(); diff --git a/src/textdialog.cpp b/src/textdialog.cpp index 3d0aae0..c96d95c 100644 --- a/src/textdialog.cpp +++ b/src/textdialog.cpp @@ -75,6 +75,7 @@ void TextDialog::exec() { x = gmenu2x.drawButton(bg, "down", gmenu2x.tr["Scroll"], x); x = gmenu2x.drawButton(bg, "cancel", "", x); x = gmenu2x.drawButton(bg, "start", gmenu2x.tr["Exit"], x); + (void)x; bg.convertToDisplayFormat(); diff --git a/src/textmanualdialog.cpp b/src/textmanualdialog.cpp index c1f1553..222deb7 100644 --- a/src/textmanualdialog.cpp +++ b/src/textmanualdialog.cpp @@ -86,6 +86,7 @@ void TextManualDialog::exec() { x = gmenu2x.drawButton(bg, "right", gmenu2x.tr["Change page"], x); x = gmenu2x.drawButton(bg, "cancel", "", x); x = gmenu2x.drawButton(bg, "start", gmenu2x.tr["Exit"], x); + (void)x; bg.convertToDisplayFormat();