git.samba.org
/
obnox
/
wireshark
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
89c24e4
)
Get rid of unnecessary assignment (the code below it always assigns a
author
guy
<guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 16 Nov 2011 02:43:58 +0000
(
02:43
+0000)
committer
guy
<guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 16 Nov 2011 02:43:58 +0000
(
02:43
+0000)
value to the variable). Praise be to Clang Cat.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39877
f5534014
-38df-0310-8fa8-
9805f1628bb7
capture_sync.c
patch
|
blob
|
history
diff --git
a/capture_sync.c
b/capture_sync.c
index bf0272bbaf183f759f863d7b9a314b8802e2c71d..e2f4d7dcb55388a1affdb574b6f384d78e65e046 100644
(file)
--- 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));