Date:2015-04-24 18:37:48 (5 years 1 month 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
356356            serviceX -= 19;
357357        }
358358    }
359    (void)serviceX;
359360
360361    bgmain->convertToDisplayFormat();
361362}
src/linkapp.cpp
496496                x = gmenu2x.drawButton(s, "right", gmenu2x.tr["Change page"], x);
497497                x = gmenu2x.drawButton(s, "cancel", "", x);
498498                x = gmenu2x.drawButton(s, "start", gmenu2x.tr["Exit"], x);
499                (void)x;
499500
500501                ss.clear();
501502                ss << page+1;
src/selector.cpp
7474        x = gmenu2x.drawButton(bg, "cancel", "", x);
7575    }
7676    x = gmenu2x.drawButton(bg, "start", gmenu2x.tr["Exit"], x);
77    (void)x;
7778
7879    unsigned int top, height;
7980    tie(top, height) = gmenu2x.getContentArea();
src/textdialog.cpp
7575    x = gmenu2x.drawButton(bg, "down", gmenu2x.tr["Scroll"], x);
7676    x = gmenu2x.drawButton(bg, "cancel", "", x);
7777    x = gmenu2x.drawButton(bg, "start", gmenu2x.tr["Exit"], x);
78    (void)x;
7879
7980    bg.convertToDisplayFormat();
8081
src/textmanualdialog.cpp
8686    x = gmenu2x.drawButton(bg, "right", gmenu2x.tr["Change page"], x);
8787    x = gmenu2x.drawButton(bg, "cancel", "", x);
8888    x = gmenu2x.drawButton(bg, "start", gmenu2x.tr["Exit"], x);
89    (void)x;
8990
9091    bg.convertToDisplayFormat();
9192

Archive Download the corresponding diff file



interactive