From fa7c30c0d7e70e303b9f6b0192bd95b2bc91ec77 Mon Sep 17 00:00:00 2001 From: Thomas Zimmermann Date: Fri, 19 Aug 2016 11:23:54 +0200 Subject: [PATCH 4/9] Protect debug-only variables behind DBUS_ENABLE_VERBOSE_MODE Signed-off-by: Thomas Zimmermann Reviewed-by: Simon McVittie Bug: https://bugs.freedesktop.org/show_bug.cgi?id=97357 --- dbus/dbus-sysdeps-win.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dbus/dbus-sysdeps-win.c b/dbus/dbus-sysdeps-win.c index e63c049..a38cb1f 100644 --- a/dbus/dbus-sysdeps-win.c +++ b/dbus/dbus-sysdeps-win.c @@ -1316,9 +1316,11 @@ _dbus_poll (DBusPollFD *fds, #else /* USE_CHRIS_IMPL */ +#ifdef DBUS_ENABLE_VERBOSE_MODE #define DBUS_POLL_CHAR_BUFFER_SIZE 2000 char msg[DBUS_POLL_CHAR_BUFFER_SIZE]; char *msgp; +#endif fd_set read_set, write_set, err_set; SOCKET max_fd = 0; -- 2.9.3