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

New commits:
commit 2ca0ab44b4c0f028aa246c28da8fbff0c79a87b4
Author: Stephan Bergmann <sberg...@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
         {
_______________________________________________
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to