diff options
author | Michael Stahl <mstahl@redhat.com> | 2012-07-10 22:05:52 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-08-09 13:22:55 +0200 |
commit | 4a5c42950822b495e3b72ef513339101220e7304 (patch) | |
tree | 2feee3de2da84ce349e5ce3de747787bd23c4f6a /connectivity | |
parent | 9d38931c3b7c90d19427a45b8d23794792b14ea2 (diff) |
pq_allocator.hxx: work around spurious MSVC warning
Change-Id: I6c516e4bd125c4075c195980a2fcdb58382c38dd
(cherry picked from commit 2c5cff69309937b5b06772cd021d1a6213bf2c2d)
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/drivers/postgresql/pq_allocator.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/connectivity/source/drivers/postgresql/pq_allocator.hxx b/connectivity/source/drivers/postgresql/pq_allocator.hxx index f454bb6a7664..dadeb8ee4293 100644 --- a/connectivity/source/drivers/postgresql/pq_allocator.hxx +++ b/connectivity/source/drivers/postgresql/pq_allocator.hxx @@ -182,6 +182,9 @@ public: void destroy (pointer p) { p->~T(); +#ifdef _MSC_VER + (void) p; // spurious warning C4100: 'p': unreferenced formal parameter +#endif } }; |