[Libreoffice-commits] core.git: compilerplugins/clang

Stephan Bergmann sbergman at redhat.com
Tue Aug 4 01:35:13 PDT 2015


 compilerplugins/clang/compat.hxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 1caec4283704f4087378816e4236df1aac468a47
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue Aug 4 10:34:50 2015 +0200

    -Werror,-Wunused-parameter
    
    Change-Id: Iede9204bf93014e757c4fdf4a8363a90b7577dbc

diff --git a/compilerplugins/clang/compat.hxx b/compilerplugins/clang/compat.hxx
index 4dd5d99..22ed14b 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);


More information about the Libreoffice-commits mailing list