[Libreoffice-commits] .: stoc/source

Stephan Bergmann sbergmann at kemper.freedesktop.org
Sun Jan 15 13:55:21 PST 2012


 stoc/source/security/lru_cache.h |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 2ca0ab44b4c0f028aa246c28da8fbff0c79a87b4
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Sun Jan 15 22:55:08 2012 +0100

    Clang -Wunused-variable.

diff --git a/stoc/source/security/lru_cache.h b/stoc/source/security/lru_cache.h
index d4b5a8e..6853a37 100644
--- a/stoc/source/security/lru_cache.h
+++ b/stoc/source/security/lru_cache.h
@@ -242,6 +242,7 @@ inline void lru_cache< t_key, t_val, t_hashKey, t_equalKey >::set(
 #ifdef __CACHE_DIAGNOSE
             OSL_ENSURE( insertion.second, "### inserting new cache entry failed?!" );
 #endif
+            (void) insertion; // avoid warnings
         }
         else
         {


More information about the Libreoffice-commits mailing list