diff options
author | Michael Stahl <mstahl@redhat.com> | 2012-07-10 22:05:52 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-07-11 00:15:05 +0200 |
commit | 2c5cff69309937b5b06772cd021d1a6213bf2c2d (patch) | |
tree | 633c93488df88f864df86992a35ae6a024ddf073 | |
parent | Runtime::any2PyObject: warning C4702: unreachable code (diff) | |
download | core-2c5cff69309937b5b06772cd021d1a6213bf2c2d.tar.gz core-2c5cff69309937b5b06772cd021d1a6213bf2c2d.zip |
pq_allocator.hxx: work around spurious MSVC warning
Change-Id: I6c516e4bd125c4075c195980a2fcdb58382c38dd
-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 } }; |