summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-03-06 20:39:05 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-03-06 20:39:05 +0000
commitaa4a5a276b3e694b7d73c57b23f3a331d2d14bfe (patch)
treee54bfb1245d3091229b2b34ee6e600669b4a8c6d
parentbuild these cxx files with exceptions enabled (diff)
downloadcore-aa4a5a276b3e694b7d73c57b23f3a331d2d14bfe.tar.gz
core-aa4a5a276b3e694b7d73c57b23f3a331d2d14bfe.zip
WaE: silence this annoying warning
-rw-r--r--sal/inc/rtl/allocator.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sal/inc/rtl/allocator.hxx b/sal/inc/rtl/allocator.hxx
index 83ebb0faea43..5b27beec8259 100644
--- a/sal/inc/rtl/allocator.hxx
+++ b/sal/inc/rtl/allocator.hxx
@@ -148,6 +148,7 @@ public:
void destroy (pointer p)
{
p->~T();
+ (void)p; //MSVC2005 annoyingly warns this is unused
}
};