From: Harlan Stenn Date: Thu, 17 Jan 2002 21:02:37 +0000 (-0500) Subject: Lint cleanup from Marc.Brett@westerngeco.com . X-Git-Tag: NTP_4_1_1~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=654c1160a4a7a6037195c7158fc0a1e2d30475b4;p=thirdparty%2Fntp.git Lint cleanup from Marc.Brett@westerngeco.com . bk: 3c473bed3Zj9y21teqoOUFD3dXUNJA --- diff --git a/ntpd/refclock_jjy.c b/ntpd/refclock_jjy.c index 804c4a22e..18de93a3b 100644 --- a/ntpd/refclock_jjy.c +++ b/ntpd/refclock_jjy.c @@ -318,7 +318,7 @@ jjy_receive ( struct recvbuf *rbufp ) l_fp tRecvTimestamp; /* arrival timestamp */ int rc ; char sLogText [ MAX_LOGTEXT ] ; - int i, bCntrlChar, iCntrlChar ; + int i, bCntrlChar ; /* * Initialize pointers and read the timecode and timestamp @@ -351,7 +351,6 @@ jjy_receive ( struct recvbuf *rbufp ) for ( i = 0 ; i < up->charcount ; i ++ ) { if ( up->rawbuf[i] < ' ' ) { bCntrlChar = 1 ; - iCntrlChar = up->charcount ; break ; } } @@ -694,11 +693,9 @@ static void jjy_poll_cdex_jst2000 ( int unit, struct peer *peer ) { - struct jjyunit *up; struct refclockproc *pp; pp = peer->procptr; - up = (struct jjyunit *) pp->unitptr ; /* * Send "1J" command diff --git a/ntpd/refclock_local.c b/ntpd/refclock_local.c index a3e577387..345a7a227 100644 --- a/ntpd/refclock_local.c +++ b/ntpd/refclock_local.c @@ -255,4 +255,6 @@ local_poll( refclock_receive(peer); pp->fudgetime1 = 0; } +#else +int refclock_local_bs; #endif /* REFCLOCK */ diff --git a/ntpd/refclock_palisade.c b/ntpd/refclock_palisade.c index d8ce41197..4b36b7880 100644 --- a/ntpd/refclock_palisade.c +++ b/ntpd/refclock_palisade.c @@ -878,4 +878,6 @@ getint ( return (short) (bp[1] + (bp[0] << 8)); } +#else +int refclock_palisade_bs; #endif /* REFCLOCK */