[Libreoffice-commits] core.git: bridges/source

Caolán McNamara caolanm at redhat.com
Thu Aug 7 10:52:35 PDT 2014


 bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit bbf2ba56505b92c9efeb21a9aeacba491a0301a1
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu Aug 7 18:51:37 2014 +0100

    WaE: -Werror=unused-parameter
    
    Change-Id: I064c738b371999bb73726bde3669c710742fae80

diff --git a/bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx
index dd6537d..b8a6363 100644
--- a/bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx
@@ -457,6 +457,7 @@ bridges::cpp_uno::shared::VtableFactory::initializeBlock(
     slots[-2].fn = reinterpret_cast<void *>(-(vtableNumber * sizeof (void *)));
 #if ENABLE_RUNTIME_OPTIMIZATIONS
     slots[-1].fn = 0;
+    (void)type;
 #else
     slots[-1].fn = x86_64::getRtti(type->aBase);
 #endif


More information about the Libreoffice-commits mailing list