summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
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
}
};