From: Jason Ish Date: Wed, 24 Aug 2016 16:15:55 +0000 (-0600) Subject: detect-flowbits: fix misleading indentation X-Git-Tag: suricata-3.1.2~36 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e55334fb370629603c8c08a540e2f83e756fc863;p=thirdparty%2Fsuricata.git detect-flowbits: fix misleading indentation detect-flowbits.c: In function ‘FlowBitsTestSig02’: detect-flowbits.c:475:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] if(error_count == 5) ^~ detect-flowbits.c:478:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’ SigGroupBuild(de_ctx); ^~~~~~~~~~~~~ --- diff --git a/src/detect-flowbits.c b/src/detect-flowbits.c index 238eb91b4c..9752f03e8b 100644 --- a/src/detect-flowbits.c +++ b/src/detect-flowbits.c @@ -472,8 +472,8 @@ static int FlowBitsTestSig02(void) error_count++; } - if(error_count == 5) - goto end; + if(error_count == 5) + goto end; SigGroupBuild(de_ctx); DetectEngineThreadCtxInit(&th_v, (void *)de_ctx, (void *)&det_ctx);