]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Get rid of an unused variable.
authorGuy Harris <[email protected]>
Fri, 9 Dec 2011 07:06:00 +0000 (23:06 -0800)
committerGuy Harris <[email protected]>
Fri, 9 Dec 2011 07:06:30 +0000 (23:06 -0800)
print-isoclns.c

index 5ab0ad733fec44f59af7d48ca303fa56ab05983a..57637055377b2c6c9c60f67e1b0ff076d08fee8e 100644 (file)
@@ -618,10 +618,6 @@ struct isis_tlv_lsp {
 
 void isoclns_print(const u_int8_t *p, u_int length, u_int caplen)
 {
-       const struct isis_common_header *header;
-
-       header = (const struct isis_common_header *)p;
-
         if (caplen <= 1) { /* enough bytes on the wire ? */
             printf("|OSI");
             return;