From e6e81f8ba731da934fee405c845f8028e044c367 Mon Sep 17 00:00:00 2001 From: Ralf Habacker Date: Tue, 3 Mar 2015 17:21:00 +0100 Subject: [PATCH] Fix warning: variable '...' set but not used [-Wunused-but-set-variable]. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=89284 --- test/dbus-daemon.c | 1 - test/test-service.c | 1 - tools/dbus-launch-win.c | 1 - 3 files changed, 3 deletions(-) diff --git a/test/dbus-daemon.c b/test/dbus-daemon.c index 6f1aa06..f33eba1 100644 --- a/test/dbus-daemon.c +++ b/test/dbus-daemon.c @@ -417,7 +417,6 @@ test_creds (Fixture *f, { #ifdef G_OS_WIN32 gchar *sid; - guint32 result; char *self_sid; g_assert (!(seen & SEEN_WINDOWS_SID)); diff --git a/test/test-service.c b/test/test-service.c index 7181fa3..62f6c96 100644 --- a/test/test-service.c +++ b/test/test-service.c @@ -400,7 +400,6 @@ main (int argc, int result; DBusConnection *connection; const char *name; - dbus_bool_t do_fork; if (argc != 3) { diff --git a/tools/dbus-launch-win.c b/tools/dbus-launch-win.c index d899010..c7ecb3e 100644 --- a/tools/dbus-launch-win.c +++ b/tools/dbus-launch-win.c @@ -89,7 +89,6 @@ main (int argc, char **argv) wchar_t *p; wchar_t *daemon_name; int result; - int showConsole = 0; #ifdef DBUS_WINCE char *s = NULL; #else -- 1.8.4.5