mirror of
git://projects.qi-hardware.com/gmenu2x.git
synced 2024-11-22 07:29:44 +02:00
Suppress Clang analyzer warnings about dead assignments
The last assignment in the series is indeed dead, but for consistency I want to keep it around.
This commit is contained in:
parent
cb1b26e5e6
commit
7b10f9448b
@ -356,6 +356,7 @@ void GMenu2X::initBG() {
|
||||
serviceX -= 19;
|
||||
}
|
||||
}
|
||||
(void)serviceX;
|
||||
|
||||
bgmain->convertToDisplayFormat();
|
||||
}
|
||||
|
@ -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;
|
||||
|
@ -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();
|
||||
|
@ -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();
|
||||
|
||||
|
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user