]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-pgm.c
CI: Add warning exemptions for Sun C (suncc-5.14) on Solaris 10
[tcpdump] / print-pgm.c
index 2321299228805b8bb8778700e090d055808e781b..d9c1e2c2fe143e2f91f4ab14b26c6d9bc5296502 100644 (file)
@@ -25,7 +25,7 @@
    an *insufficient* description of said changes.  In particular,
    it doesn't indicate what the packet type code for ACK is.
 
-   Luigi Risso's PGMCC code for FreeBSD, at
+   Luigi Rizzo's PGMCC code for FreeBSD, at
 
       https://web.archive.org/web/20020302084503/http://info.iet.unipi.it/~luigi/pgm-code/
 
@@ -47,9 +47,7 @@
 
    */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
@@ -274,7 +272,6 @@ pgm_print(netdissect_options *ndo,
                break;
            default:
                goto invalid;
-               break;
            }
 
            ND_PRINT("SPM seq %u trail %u lead %u nla %s",
@@ -306,7 +303,6 @@ pgm_print(netdissect_options *ndo,
                break;
            default:
                goto invalid;
-               break;
            }
 
            ivl = GET_BE_U_4(bp);
@@ -384,7 +380,6 @@ pgm_print(netdissect_options *ndo,
                break;
            default:
                goto invalid;
-               break;
            }
 
            /*
@@ -405,7 +400,6 @@ pgm_print(netdissect_options *ndo,
                break;
            default:
                goto invalid;
-               break;
            }
 
            /*
@@ -630,7 +624,6 @@ pgm_print(netdissect_options *ndo,
                        break;
                    default:
                        goto invalid;
-                       break;
                    }
 
                    ND_PRINT(" REDIRECT %s",  nla_buf);
@@ -787,7 +780,6 @@ pgm_print(netdissect_options *ndo,
                        break;
                    default:
                        goto invalid;
-                       break;
                    }
 
                    ND_PRINT(" PGMCC DATA %u %s", offset, nla_buf);
@@ -830,7 +822,6 @@ pgm_print(netdissect_options *ndo,
                        break;
                    default:
                        goto invalid;
-                       break;
                    }
 
                    ND_PRINT(" PGMCC FEEDBACK %u %s", offset, nla_buf);