From 28e2edb7355b1312e58a158f6f661b02103b54a8 Mon Sep 17 00:00:00 2001 From: Francois-Xavier Le Bail Date: Thu, 1 Sep 2016 11:39:39 +0200 Subject: Remove parenthesis following immediately a #if This avoid Coccinelle warning "Unable to parse #if condition" --- print-sctp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'print-sctp.c') diff --git a/print-sctp.c b/print-sctp.c index 70738e66..f625dce6 100644 --- a/print-sctp.c +++ b/print-sctp.c @@ -693,7 +693,7 @@ void sctp_print(netdissect_options *ndo, sctpPacketLengthRemaining -= sizeof(*init); chunkLengthRemaining -= sizeof(*init); -#if(0) /* ALC you can add code for optional params here */ +#if 0 /* ALC you can add code for optional params here */ if( chunkLengthRemaining != 0 ) ND_PRINT((ndo, " @@@@@ UNFINISHED @@@@@@%s\n", "Optional params present, but not printed.")); @@ -721,7 +721,7 @@ void sctp_print(netdissect_options *ndo, sctpPacketLengthRemaining -= sizeof(*init); chunkLengthRemaining -= sizeof(*init); -#if(0) /* ALC you can add code for optional params here */ +#if 0 /* ALC you can add code for optional params here */ if( chunkLengthRemaining != 0 ) ND_PRINT((ndo, " @@@@@ UNFINISHED @@@@@@%s\n", "Optional params present, but not printed.")); -- cgit v1.2.1