summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2012-07-10 22:05:52 +0200
committerMichael Stahl <mstahl@redhat.com>2012-07-11 00:15:05 +0200
commit2c5cff69309937b5b06772cd021d1a6213bf2c2d (patch)
tree633c93488df88f864df86992a35ae6a024ddf073 /connectivity
parentec41ccedb4a3b25781405005dbbda213b2283f04 (diff)
pq_allocator.hxx: work around spurious MSVC warning
Change-Id: I6c516e4bd125c4075c195980a2fcdb58382c38dd
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/drivers/postgresql/pq_allocator.hxx3
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
}
};