]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-arp.c
Remove unnecessary float and double variables.
[tcpdump] / print-arp.c
index 67bee441ae508d73f7697bcee94e1f3af41f1f7a..3f6c02615b414cd0e082ea58980454c39769b710 100644 (file)
@@ -179,7 +179,7 @@ struct  atmarp_pkthdr {
 static int
 isnonzero(netdissect_options *ndo, const u_char *a, size_t len)
 {
-       while (len > 0) {
+       while (len != 0) {
                if (GET_U_1(a) != 0)
                        return (1);
                a++;