]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Get rid of a return value in a void function.
authorguy <guy>
Sun, 13 Nov 2005 19:59:39 +0000 (19:59 +0000)
committerguy <guy>
Sun, 13 Nov 2005 19:59:39 +0000 (19:59 +0000)
print-802_11.c

index 6f7818bc9be31f6fc8c3f44ec9e5c0026da2e692..c1e8d796826bb7426851928ddf5b9360706a33d9 100644 (file)
@@ -22,7 +22,7 @@
 
 #ifndef lint
 static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-802_11.c,v 1.31.2.7 2005-11-13 12:07:44 guy Exp $ (LBL)";
+    "@(#) $Header: /tcpdump/master/tcpdump/print-802_11.c,v 1.31.2.8 2005-11-13 19:59:39 guy Exp $ (LBL)";
 #endif
 
 #ifdef HAVE_CONFIG_H
@@ -167,7 +167,7 @@ parse_elements(struct mgmt_body_t *pbody, const u_char *p, int offset)
 
        for (;;) {
                if (!TTEST2(*(p + offset), 1))
-                       return 1;
+                       return;
                switch (*(p + offset)) {
                case E_SSID:
                        /* Present, possibly truncated */