Don't fetch the exit code of our child process, we never use it.
svn path=/trunk/; revision=45210
This commit is contained in:
parent
c103c2fe04
commit
73e5c4e40f
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue