From 480251bddaf7200393ade2efd9f0f4a2f661afed Mon Sep 17 00:00:00 2001 From: Ralf Habacker Date: Sat, 31 Oct 2015 21:06:23 +0100 Subject: [PATCH 5/6] Fix warning: variable 'ret' set but not used [-Wunused-but-set-variable]. --- dbus/dbus-spawn-win.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dbus/dbus-spawn-win.c b/dbus/dbus-spawn-win.c index 7f68f14..03eb07a 100644 --- a/dbus/dbus-spawn-win.c +++ b/dbus/dbus-spawn-win.c @@ -612,14 +612,13 @@ babysitter (void *parameter) if (sitter->child_handle != NULL) { - int ret; DWORD status; PING(); WaitForSingleObject (sitter->child_handle, INFINITE); PING(); - ret = GetExitCodeProcess (sitter->child_handle, &status); + GetExitCodeProcess (sitter->child_handle, &status); sitter->child_status = status; sitter->have_child_status = TRUE; -- 1.8.4.5