summaryrefslogtreecommitdiff
path: root/sal/inc/rtl/allocator.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sal/inc/rtl/allocator.hxx')
-rw-r--r--sal/inc/rtl/allocator.hxx3
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))));
}