diff options
author | Evan Huus <eapache@gmail.com> | 2012-09-29 14:06:40 +0000 |
---|---|---|
committer | Evan Huus <eapache@gmail.com> | 2012-09-29 14:06:40 +0000 |
commit | 73e5c4e40fcea64d461c269a0f2e116d922342d6 (patch) | |
tree | ada32655140f25df63b10f9bb24cbc24aa7133c5 /ui/gtk/gui_utils.c | |
parent | c103c2fe047c56976c9423efead83bd50ccdecb6 (diff) |
Don't fetch the exit code of our child process, we never use it.
svn path=/trunk/; revision=45210
Diffstat (limited to 'ui/gtk/gui_utils.c')
-rw-r--r-- | ui/gtk/gui_utils.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/ui/gtk/gui_utils.c b/ui/gtk/gui_utils.c index 8888585957..e431ea167a 100644 --- a/ui/gtk/gui_utils.c +++ b/ui/gtk/gui_utils.c @@ -694,7 +694,7 @@ pipe_timer_cb(gpointer data) { HANDLE handle; DWORD avail = 0; - gboolean result, result1; + gboolean result; DWORD childstatus; pipe_input_t *pipe_input = data; gint iterations = 0; @@ -709,10 +709,6 @@ pipe_timer_cb(gpointer data) handle = (HANDLE)_get_osfhandle(pipe_input->source); result = PeekNamedPipe(handle, NULL, 0, NULL, &avail, NULL); - /* Get the child process exit status */ - result1 = GetExitCodeProcess((HANDLE)*(pipe_input->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 callback */ |