]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Remove unnecessary semicolons
authorFrancois-Xavier Le Bail <[email protected]>
Thu, 25 Aug 2016 12:57:05 +0000 (14:57 +0200)
committerFrancois-Xavier Le Bail <[email protected]>
Mon, 29 Aug 2016 18:10:07 +0000 (20:10 +0200)
Using Coccinelle script semicolon.cocci

print-lmp.c
print-rx.c

index f7093374e324577fabe20cb88213fc0fec70f38d..1c7710c45d69070b99ca0c8d1fdf3a84eca5cc05 100644 (file)
@@ -842,7 +842,7 @@ lmp_print(netdissect_options *ndo,
 
            default:
                hexdump = TRUE;
-           };
+           }
 
        break;
 
index 4b49601a3c0a4d982d0e6951467fadcf3c414b6e..ea3a5e67a2f4bc117cf8f3dc6bf3a71d852ebb9e 100644 (file)
@@ -1924,7 +1924,7 @@ kauth_print(netdissect_options *ndo,
        bp += sizeof(struct rx_header) + 4;
 
        switch (kauth_op) {
-               case 1:         /* Authenticate old */;
+               case 1:         /* Authenticate old */
                case 21:        /* Authenticate */
                case 22:        /* Authenticate-V2 */
                case 2:         /* Change PW */