aboutsummaryrefslogtreecommitdiffstats
path: root/capture_sync.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2011-11-16 02:43:58 +0000
committerGuy Harris <guy@alum.mit.edu>2011-11-16 02:43:58 +0000
commitc73c44cf4b5073f6bfa497bf83e40838029a3714 (patch)
treec61d5af4759f99e3cc673ce1fd1c1191f45ee778 /capture_sync.c
parent46575653fd0901d147e0afcdd28dbc8e07519f40 (diff)
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
Diffstat (limited to 'capture_sync.c')
-rw-r--r--capture_sync.c1
1 files changed, 0 insertions, 1 deletions
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));