Date: | 2015-04-24 18:37:48 (8 years 7 months ago) |
---|---|
Author: | Maarten ter Huurne |
Commit: | 7b10f9448bb9965e94f9a37a59f0999e9c51e68f |
Message: | 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. |
Files: |
src/gmenu2x.cpp (1 diff) src/linkapp.cpp (1 diff) src/selector.cpp (1 diff) src/textdialog.cpp (1 diff) src/textmanualdialog.cpp (1 diff) |
Change Details
src/gmenu2x.cpp | ||
---|---|---|
356 | 356 | serviceX -= 19; |
357 | 357 | } |
358 | 358 | } |
359 | (void)serviceX; | |
359 | 360 | |
360 | 361 | bgmain->convertToDisplayFormat(); |
361 | 362 | } |
src/linkapp.cpp | ||
---|---|---|
496 | 496 | x = gmenu2x.drawButton(s, "right", gmenu2x.tr["Change page"], x); |
497 | 497 | x = gmenu2x.drawButton(s, "cancel", "", x); |
498 | 498 | x = gmenu2x.drawButton(s, "start", gmenu2x.tr["Exit"], x); |
499 | (void)x; | |
499 | 500 | |
500 | 501 | ss.clear(); |
501 | 502 | ss << page+1; |
src/selector.cpp | ||
---|---|---|
74 | 74 | x = gmenu2x.drawButton(bg, "cancel", "", x); |
75 | 75 | } |
76 | 76 | x = gmenu2x.drawButton(bg, "start", gmenu2x.tr["Exit"], x); |
77 | (void)x; | |
77 | 78 | |
78 | 79 | unsigned int top, height; |
79 | 80 | tie(top, height) = gmenu2x.getContentArea(); |
src/textdialog.cpp | ||
---|---|---|
75 | 75 | x = gmenu2x.drawButton(bg, "down", gmenu2x.tr["Scroll"], x); |
76 | 76 | x = gmenu2x.drawButton(bg, "cancel", "", x); |
77 | 77 | x = gmenu2x.drawButton(bg, "start", gmenu2x.tr["Exit"], x); |
78 | (void)x; | |
78 | 79 | |
79 | 80 | bg.convertToDisplayFormat(); |
80 | 81 |
src/textmanualdialog.cpp | ||
---|---|---|
86 | 86 | x = gmenu2x.drawButton(bg, "right", gmenu2x.tr["Change page"], x); |
87 | 87 | x = gmenu2x.drawButton(bg, "cancel", "", x); |
88 | 88 | x = gmenu2x.drawButton(bg, "start", gmenu2x.tr["Exit"], x); |
89 | (void)x; | |
89 | 90 | |
90 | 91 | bg.convertToDisplayFormat(); |
91 | 92 |
Branches:
install_locations
master
opkrun
packages