Skip to content

Commit

Permalink
remove useless else
Browse files Browse the repository at this point in the history
  • Loading branch information
regit committed Jan 22, 2025
1 parent e2734d6 commit 6173435
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/detect-engine-file.c
Original file line number Diff line number Diff line change
Expand Up @@ -213,8 +213,8 @@ uint8_t DetectFileInspectGeneric(DetectEngineCtx *de_ctx, DetectEngineThreadCtx
/* Other scopes than TX are going to be handled in post match without
any setup needed here so we can just return a match for them. */
SCReturnInt(DETECT_ENGINE_INSPECT_SIG_MATCH);
} else
SCReturnInt(DETECT_ENGINE_INSPECT_SIG_NO_MATCH);
}
SCReturnInt(DETECT_ENGINE_INSPECT_SIG_NO_MATCH);
}

uint8_t r = DETECT_ENGINE_INSPECT_SIG_NO_MATCH;
Expand Down

0 comments on commit 6173435

Please sign in to comment.