diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-11-16 02:43:58 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-11-16 02:43:58 +0000 |
commit | 4d94cf4224b6fee96000b521da6248f2e4144fee (patch) | |
tree | c61d5af4759f99e3cc673ce1fd1c1191f45ee778 /capture_sync.c | |
parent | 89c24e416b618647813c298da5aac34a50290543 (diff) |
Get rid of unnecessary assignment (the code below it always assigns a
value to the variable). Praise be to Clang Cat.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39877 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'capture_sync.c')
-rw-r--r-- | capture_sync.c | 1 |
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)); |