core,w32,glib: Fix build of w32-glib-io.c

* src/w32-glib-io.c (_gpgme_io_pipe, _gpgme_io_connect): Do not
use TRACE_SUC in a return statement.
This commit is contained in:
Andre Heinecke 2019-03-26 19:22:44 +01:00
parent 5d2b3b28aa
commit 213c4bc1eb
No known key found for this signature in database
GPG Key ID: 2978E9D40CBABA5C

View File

@ -421,12 +421,13 @@ _gpgme_io_pipe (int filedes[2], int inherit_idx)
return TRACE_SYSRES (-1); return TRACE_SYSRES (-1);
} }
return TRACE_SUC ("read=0x%x/%p, write=0x%x/%p, channel=%p", TRACE_SUC ("read=0x%x/%p, write=0x%x/%p, channel=%p",
filedes[0], filedes[0],
(HANDLE) _get_osfhandle (giochannel_table[filedes[0]].fd), (HANDLE) _get_osfhandle (giochannel_table[filedes[0]].fd),
filedes[1], filedes[1],
(HANDLE) _get_osfhandle (giochannel_table[filedes[1]].fd), (HANDLE) _get_osfhandle (giochannel_table[filedes[1]].fd),
giochannel_table[1 - inherit_idx].chan); giochannel_table[1 - inherit_idx].chan);
return 0;
} }
@ -1081,5 +1082,7 @@ _gpgme_io_connect (int fd, struct sockaddr *addr, int addrlen)
return TRACE_SYSRES (-1); return TRACE_SYSRES (-1);
} }
return TRACE_SUC (""); TRACE_SUC ("");
return 0;
} }