diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2016-02-11 21:06:02 +0100 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2016-02-14 18:28:40 +0000 |
commit | 5dbc727ae9c1ceebdaafab29eff89e487c9e824a (patch) | |
tree | e02123952f967e2b5d730cc25cdb0003d0ddd0d6 /ui/qt | |
parent | 52deda15ee9efa94ea4abad535a0c54a2813e7f4 (diff) |
tango_color(.h): avoid ‘tango_butter_3’ defined but not used [-Werror=unused-const-variable] found by gcc6
Change-Id: I5500c7228003358421d2aa40808213ef739e765b
Reviewed-on: https://code.wireshark.org/review/13906
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'ui/qt')
-rw-r--r-- | ui/qt/tango_colors.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ui/qt/tango_colors.h b/ui/qt/tango_colors.h index c26d501971..8b2a34be6b 100644 --- a/ui/qt/tango_colors.h +++ b/ui/qt/tango_colors.h @@ -23,10 +23,15 @@ #ifndef __TANGO_COLORS_H__ #define __TANGO_COLORS_H__ +#include <wsutil/ws_diag_control.h> + // http://tango.freedesktop.org/Tango_Icon_Theme_Guidelines // with added hues from http://emilis.info/other/extended_tango/ // (all colors except aluminium) +// avoid unused-const-variable warning with gcc6 +DIAG_OFF(unused-const-variable) + const QRgb tango_aluminium_1 = 0xeeeeec; const QRgb tango_aluminium_2 = 0xd3d7cf; const QRgb tango_aluminium_3 = 0xbabdb6; @@ -86,4 +91,6 @@ const QRgb tango_sky_blue_6 = 0x0a3050; const QRgb ws_css_warn_background = tango_butter_2; const QRgb ws_css_warn_text = tango_aluminium_6; +DIAG_ON(unused-const-variable) + #endif // __TANGO_COLORS_H__ |