summaryrefslogtreecommitdiff
path: root/external
diff options
context:
space:
mode:
Diffstat (limited to 'external')
-rw-r--r--external/clucene/patches/clucene-warnings.patch3
1 files changed, 2 insertions, 1 deletions
diff --git a/external/clucene/patches/clucene-warnings.patch b/external/clucene/patches/clucene-warnings.patch
index 1f1a29f5ab6e..5f602c2ffa1c 100644
--- a/external/clucene/patches/clucene-warnings.patch
+++ b/external/clucene/patches/clucene-warnings.patch
@@ -72,7 +72,7 @@
#endif
--- src/core/CLucene/util/Array.h 2012-02-22 12:37:22.510637696 +0000
+++ src/core/CLucene/util/Array.h 2012-02-22 12:38:33.714444884 +0000
-@@ -7,6 +7,12 @@
+@@ -7,6 +7,13 @@
#ifndef _lucene_util_Array_
#define _lucene_util_Array_
@@ -80,6 +80,7 @@
+#if defined(__GNUC__) && HAVE_GCC_PRAGMA_DIAGNOSTIC_SCOPE
+# pragma GCC diagnostic push
+# pragma GCC diagnostic ignored "-Wshadow"
++# pragma GCC diagnostic ignored "-Wunused-parameter"
+#endif
+
#include <stdlib.h>