From e55334fb370629603c8c08a540e2f83e756fc863 Mon Sep 17 00:00:00 2001 From: Jason Ish Date: Wed, 24 Aug 2016 10:15:55 -0600 Subject: [PATCH] detect-flowbits: fix misleading indentation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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); ^~~~~~~~~~~~~ --- src/detect-flowbits.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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);