From c73c44cf4b5073f6bfa497bf83e40838029a3714 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Wed, 16 Nov 2011 02:43:58 +0000 Subject: Get rid of unnecessary assignment (the code below it always assigns a value to the variable). Praise be to Clang Cat. svn path=/trunk/; revision=39877 --- capture_sync.c | 1 - 1 file changed, 1 deletion(-) (limited to 'capture_sync.c') diff --git a/capture_sync.c b/capture_sync.c index bf0272bbaf..e2f4d7dcb5 100644 --- a/capture_sync.c +++ b/capture_sync.c @@ -1681,7 +1681,6 @@ sync_pipe_wait_for_child(int fork_child, gchar **msgp) g_assert(fork_child != -1); *msgp = NULL; /* assume no error */ - ret = 0; #ifdef _WIN32 if (_cwait(&fork_child_status, fork_child, _WAIT_CHILD) == -1) { *msgp = g_strdup_printf("Error from cwait(): %s", g_strerror(errno)); -- cgit v1.2.3