diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2011-10-18 23:05:58 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2011-10-18 23:10:56 +0200 |
commit | bf1f0183d5c6b4c94acdbee27276d5a386a657f4 (patch) | |
tree | 3d4d60a59f935ee11011ebea33ccb6d9fab5063c /sal | |
parent | 0eee1cf957d122ac0d805a9589a5db075a94e4a1 (diff) |
Some fixes for "clang version 3.1 (trunk 142234)" (with --enable-werror, on Linux x86_64).
Diffstat (limited to 'sal')
-rw-r--r-- | sal/inc/rtl/allocator.hxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sal/inc/rtl/allocator.hxx b/sal/inc/rtl/allocator.hxx index 5b27beec8259..c19d8d2cb3e2 100644 --- a/sal/inc/rtl/allocator.hxx +++ b/sal/inc/rtl/allocator.hxx @@ -125,9 +125,8 @@ public: are not enabled, e.g. GCC under Linux and it is in general not desired to compile sal with exceptions enabled. */ - pointer allocate (size_type n, const void* hint = 0) + pointer allocate (size_type n, const void* = 0) { - hint = hint; /* avoid warnings */ return reinterpret_cast<pointer>( rtl_allocateMemory(sal_uInt32(n * sizeof(T)))); } |