diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-11-14 17:45:03 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-11-14 17:45:03 +0100 |
commit | 8c586582d93a3aaefd9e800da87a0d1ea8a260f8 (patch) | |
tree | 2de4f8a52fcdfc69d62714158d683a0713ed0605 /external | |
parent | a539950a6dbc6c19ab4f2757ca23a5ef8a7a5110 (diff) |
external/clucene: -Werror,-Wunused-parameter
Change-Id: Iedb2d7c62f6498691bffd0beb529e479d62d004e
Diffstat (limited to 'external')
-rw-r--r-- | external/clucene/patches/clucene-warnings.patch | 3 |
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> |