connectivity/source/drivers/postgresql/pq_allocator.hxx | 3 +++ 1 file changed, 3 insertions(+)
New commits: commit 4a5c42950822b495e3b72ef513339101220e7304 Author: Michael Stahl <[email protected]> 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 <[email protected]> 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 } }; _______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
