]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Get rid of unused (but set) variable.
authorGuy Harris <[email protected]>
Sat, 9 Jun 2012 02:15:28 +0000 (19:15 -0700)
committerGuy Harris <[email protected]>
Sat, 9 Jun 2012 02:15:28 +0000 (19:15 -0700)
print-lwapp.c

index 984ebaa3044b4317f5b8838fe2cb66e140547bda..154876f54a8e9749abf6d3b60cdcd453a6308e5b 100644 (file)
@@ -174,7 +174,7 @@ lwapp_control_print(const u_char *pptr, u_int len, int has_ap_ident) {
     const struct lwapp_transport_header *lwapp_trans_header;
     const struct lwapp_control_header *lwapp_control_header;
     const u_char *tptr;
-    int hexdump,tlen;
+    int  tlen;
     int  msg_tlen;
 
     tptr=pptr;
@@ -247,7 +247,6 @@ lwapp_control_print(const u_char *pptr, u_int len, int has_ap_ident) {
         /* did we capture enough for fully decoding the message */
         if (!TTEST2(*tptr, msg_tlen))
             goto trunc;
-        hexdump=FALSE;
 
        /* XXX - Decode sub messages for each message */
         switch(lwapp_control_header->msg_type) {