summaryrefslogtreecommitdiff
path: root/l10ntools
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2014-10-02 18:42:07 +0200
committerMichael Stahl <mstahl@redhat.com>2014-10-02 20:00:18 +0200
commit9086a4bbd38b9a5320525392affe495e7772796a (patch)
tree34f0015f0c9f5f2cfb16892801fda886a0fd4f12 /l10ntools
parent3b59dbbffdb73e48f9e2398bb1eecc24e3d95e13 (diff)
remove checks of __GCC_MINOR__ that are always true in GCC 4.6 or later
Change-Id: I4412a0c1e4dee94cd717f24b8df5e257d895f721
Diffstat (limited to 'l10ntools')
-rw-r--r--l10ntools/source/cfglex.l2
-rw-r--r--l10ntools/source/srclex.l2
-rw-r--r--l10ntools/source/xrmlex.l2
3 files changed, 0 insertions, 6 deletions
diff --git a/l10ntools/source/cfglex.l b/l10ntools/source/cfglex.l
index 0fe951c0ff37..663070ab2d29 100644
--- a/l10ntools/source/cfglex.l
+++ b/l10ntools/source/cfglex.l
@@ -47,9 +47,7 @@
#if __GNUC__
#pragma GCC diagnostic ignored "-Wunused-function"
#pragma GCC diagnostic ignored "-Wunused-label"
-#if (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6))
#pragma GCC diagnostic ignored "-Wunused-but-set-variable"
-#endif
#elif defined _MSC_VER
#pragma warning(push, 1)
#endif
diff --git a/l10ntools/source/srclex.l b/l10ntools/source/srclex.l
index 0985b431f04c..979df7512924 100644
--- a/l10ntools/source/srclex.l
+++ b/l10ntools/source/srclex.l
@@ -48,9 +48,7 @@
#ifdef __GNUC__
#pragma GCC diagnostic ignored "-Wunused-function"
#pragma GCC diagnostic ignored "-Wunused-label"
-#if (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6))
#pragma GCC diagnostic ignored "-Wunused-but-set-variable"
-#endif
#elif defined _MSC_VER
#pragma warning(push, 1)
#endif
diff --git a/l10ntools/source/xrmlex.l b/l10ntools/source/xrmlex.l
index ec00468de4d9..0d4bb4d48573 100644
--- a/l10ntools/source/xrmlex.l
+++ b/l10ntools/source/xrmlex.l
@@ -46,9 +46,7 @@
#ifdef __GNUC__
#pragma GCC diagnostic ignored "-Wunused-function"
#pragma GCC diagnostic ignored "-Wunused-label"
-#if (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6))
#pragma GCC diagnostic ignored "-Wunused-but-set-variable"
-#endif
#elif defined _MSC_VER
#pragma warning(push, 1)
#endif