aboutsummaryrefslogtreecommitdiffstats
path: root/tshark.c
diff options
context:
space:
mode:
authorEvan Huus <eapache@gmail.com>2012-10-14 19:48:22 +0000
committerEvan Huus <eapache@gmail.com>2012-10-14 19:48:22 +0000
commit9433de4c8a7fa31840dae03fd69e4c039bf09889 (patch)
tree0cc56c6246447598a58fbb3c101631344dfd8ae6 /tshark.c
parenta892d9486d962dbcc1c189f789f2744537dd42fc (diff)
Unused variable
svn path=/trunk/; revision=45544
Diffstat (limited to 'tshark.c')
-rw-r--r--tshark.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tshark.c b/tshark.c
index e55ddd084f..b3f75e96cb 100644
--- a/tshark.c
+++ b/tshark.c
@@ -1942,7 +1942,7 @@ pipe_timer_cb(gpointer data)
{
HANDLE handle;
DWORD avail = 0;
- gboolean result, result1;
+ gboolean result;
DWORD childstatus;
pipe_input_t *pipe_input_p = data;
gint iterations = 0;
@@ -1959,8 +1959,8 @@ pipe_timer_cb(gpointer data)
result = PeekNamedPipe(handle, NULL, 0, NULL, &avail, NULL);
/* Get the child process exit status */
- result1 = GetExitCodeProcess((HANDLE)*(pipe_input_p->child_process),
- &childstatus);
+ GetExitCodeProcess((HANDLE)*(pipe_input_p->child_process),
+ &childstatus);
/* If the Peek returned an error, or there are bytes to be read
or the childwatcher thread has terminated then call the normal