]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-dccp.c
CI: Add warning exemptions for Sun C (suncc-5.14) on Solaris 10
[tcpdump] / print-dccp.c
index 5a0890a9a481923ca5b423ac1665593be9cc66eb..2ae46a971e7e49ac15a1ef72fa066ad2cc2e841f 100644 (file)
@@ -11,9 +11,7 @@
 
 /* specification: RFC 4340 */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
@@ -392,7 +390,6 @@ dccp_print(netdissect_options *ndo, const u_char *bp, const u_char *data2,
                break;
        default:
                goto invalid;
-               break;
        }
 
        if ((DCCPH_TYPE(dh) != DCCP_PKT_DATA) &&
@@ -596,7 +593,6 @@ dccp_print_option(netdissect_options *ndo, const u_char *bp, u_int hlen)
                        default:
                                ND_PRINT(" [optlen != 6 or 8 or 10]");
                                goto invalid;
-                               break;
                        }
                        break;
                case DCCP_OPTION_ELAPSED_TIME: