diff options
author | guy <guy> | 2001-01-02 23:24:51 +0000 |
---|---|---|
committer | guy <guy> | 2001-01-02 23:24:51 +0000 |
commit | 0947e63cde56d2d0b9d1e7177e44677583e236bb (patch) | |
tree | e67207da8200e75fe3822407da4fb92177e15ea9 /print-domain.c | |
parent | 35e44ee8d736eb7d15edbef5244768f314bdd970 (diff) | |
download | tcpdump-0947e63cde56d2d0b9d1e7177e44677583e236bb.tar.gz |
Remove some uninitialized variable complaints.
Diffstat (limited to 'print-domain.c')
-rw-r--r-- | print-domain.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/print-domain.c b/print-domain.c index 1e7ea331..64924af9 100644 --- a/print-domain.c +++ b/print-domain.c @@ -21,7 +21,7 @@ #ifndef lint static const char rcsid[] = - "@(#) $Header: /tcpdump/master/tcpdump/print-domain.c,v 1.63 2001-01-01 04:22:56 itojun Exp $ (LBL)"; + "@(#) $Header: /tcpdump/master/tcpdump/print-domain.c,v 1.64 2001-01-02 23:24:51 guy Exp $ (LBL)"; #endif #ifdef HAVE_CONFIG_H @@ -239,7 +239,7 @@ static const u_char * ns_nprint(register const u_char *cp, register const u_char *bp) { register u_int i, l; - register const u_char *rp; + register const u_char *rp = NULL; register int compress = 0; int chars_processed; int elt; @@ -552,7 +552,7 @@ ns_print(register const u_char *bp, u_int length) { register const HEADER *np; register int qdcount, ancount, nscount, arcount; - register const u_char *cp; + register const u_char *cp = NULL; np = (const HEADER *)bp; /* get the byte-order right */ |