summaryrefslogtreecommitdiff
path: root/compilerplugins
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-08-04 10:34:50 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-08-04 10:34:50 +0200
commit1caec4283704f4087378816e4236df1aac468a47 (patch)
tree214323e26bbad95ae5a579c90fe8619e52ffd946 /compilerplugins
parenta4073f22c1cf3d6335ae5305eb60a5dbe9ee555a (diff)
-Werror,-Wunused-parameter
Change-Id: Iede9204bf93014e757c4fdf4a8363a90b7577dbc
Diffstat (limited to 'compilerplugins')
-rw-r--r--compilerplugins/clang/compat.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/compilerplugins/clang/compat.hxx b/compilerplugins/clang/compat.hxx
index 4dd5d992aa27..22ed14b45460 100644
--- a/compilerplugins/clang/compat.hxx
+++ b/compilerplugins/clang/compat.hxx
@@ -72,6 +72,7 @@ inline bool forallBases(
bool AllowShortCircuit)
{
#if (__clang_major__ == 3 && __clang_minor__ >= 7) || __clang_major__ > 3
+ (void) callbackParam;
return decl.forallBases(BaseMatches, AllowShortCircuit);
#else
return decl.forallBases(BaseMatches, callbackParam, AllowShortCircuit);