From: wessels <> Date: Sun, 26 Oct 1997 08:46:08 +0000 (+0000) Subject: compiler X-Git-Tag: SQUID_3_0_PRE1~4683 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7a18b487fce8ec144f467f77dab20b9c1b587d9c;p=thirdparty%2Fsquid.git compiler --- diff --git a/src/comm.cc b/src/comm.cc index a2c3ec0faa..cc5cd097a5 100644 --- a/src/comm.cc +++ b/src/comm.cc @@ -1,6 +1,6 @@ /* - * $Id: comm.cc,v 1.194 1997/10/25 17:22:37 wessels Exp $ + * $Id: comm.cc,v 1.195 1997/10/26 01:46:08 wessels Exp $ * * DEBUG: section 5 Socket Functions * AUTHOR: Harvest Derived @@ -1160,7 +1160,7 @@ commSetCloseOnExec(int fd) { #ifdef FD_CLOEXEC int flags; - int dummy; + int dummy = 0; if ((flags = fcntl(fd, F_GETFL, dummy)) < 0) { debug(50, 0) ("FD %d: fcntl F_GETFL: %s\n", fd, xstrerror()); return; diff --git a/src/icmp.cc b/src/icmp.cc index 872b326a14..4719c1d595 100644 --- a/src/icmp.cc +++ b/src/icmp.cc @@ -1,6 +1,6 @@ /* - * $Id: icmp.cc,v 1.44 1997/10/25 17:22:45 wessels Exp $ + * $Id: icmp.cc,v 1.45 1997/10/26 01:46:09 wessels Exp $ * * DEBUG: section 37 ICMP Routines * AUTHOR: Duane Wessels @@ -106,9 +106,7 @@ icmpRecv(int unused1, void *unused2) } static void -icmpQueueSend(pingerEchoData * pkt, - int len, - FREE *free_func; +icmpQueueSend(pingerEchoData * pkt, int len, FREE *free_func) { icmpQueueData *q = NULL; icmpQueueData **H = NULL;