2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

silence compiler warnings [RT #15562]

This commit is contained in:
Mark Andrews
2005-11-03 22:59:53 +00:00
parent dcb551033f
commit c481327e75
7 changed files with 19 additions and 10 deletions

View File

@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: socket.c,v 1.255 2005/10/17 03:47:10 marka Exp $ */
/* $Id: socket.c,v 1.256 2005/11/03 22:59:53 marka Exp $ */
/*! \file */
@@ -400,6 +400,7 @@ select_readmsg(isc_socketmgr_t *mgr, int *fd, int *msg) {
cc = read(mgr->pipe_fds[0], buf, sizeof(buf));
if (cc < 0) {
*msg = SELECT_POKE_NOTHING;
*fd = -1; /* Silence compiler. */
if (SOFT_ERROR(errno))
return;