[Libreoffice-commits] .: Branch 'libreoffice-3-6' - connectivity/source
Stephan Bergmann
sbergmann at kemper.freedesktop.org
Thu Aug 9 04:23:12 PDT 2012
connectivity/source/drivers/postgresql/pq_allocator.hxx | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit 4a5c42950822b495e3b72ef513339101220e7304
Author: Michael Stahl <mstahl at redhat.com>
Date: Tue Jul 10 22:05:52 2012 +0200
pq_allocator.hxx: work around spurious MSVC warning
Change-Id: I6c516e4bd125c4075c195980a2fcdb58382c38dd
(cherry picked from commit 2c5cff69309937b5b06772cd021d1a6213bf2c2d)
Signed-off-by: Stephan Bergmann <sbergman at redhat.com>
diff --git a/connectivity/source/drivers/postgresql/pq_allocator.hxx b/connectivity/source/drivers/postgresql/pq_allocator.hxx
index f454bb6..dadeb8e 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
}
};
More information about the Libreoffice-commits
mailing list