]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
Lint cleanup from Marc.Brett@westerngeco.com .
authorHarlan Stenn <stenn@ntp.org>
Thu, 17 Jan 2002 21:02:37 +0000 (16:02 -0500)
committerHarlan Stenn <stenn@ntp.org>
Thu, 17 Jan 2002 21:02:37 +0000 (16:02 -0500)
bk: 3c473bed3Zj9y21teqoOUFD3dXUNJA

ntpd/refclock_jjy.c
ntpd/refclock_local.c
ntpd/refclock_palisade.c

index 804c4a22e09d7361dd808bc47e7873936d4de121..18de93a3bfecf81b53e7f4d877e3a5337b23c79a 100644 (file)
@@ -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 "<ENQ>1J<ETX>" command
index a3e577387258081aceb0a54a93071e6ee2e27281..345a7a22752bf0695c71e7442e7d9e5058261bc2 100644 (file)
@@ -255,4 +255,6 @@ local_poll(
        refclock_receive(peer);
        pp->fudgetime1 = 0;
 }
+#else
+int refclock_local_bs;
 #endif /* REFCLOCK */
index d8ce41197f6cff946c54ccc2bb2dc31beca4b59b..4b36b788009ddc1027348abcd05d77009c32a192 100644 (file)
@@ -878,4 +878,6 @@ getint (
 return (short) (bp[1] + (bp[0] << 8));
 }
 
+#else
+int refclock_palisade_bs;
 #endif /* REFCLOCK */