reference: remove useless var reset

cppcheck:

src/util-reference-config.c:179:9: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg]
        fd = NULL;
        ^

Bug: #5291.
(cherry picked from commit 5a0bbb5289)
pull/7377/head
Victor Julien 4 years ago
parent 733795dc00
commit a7dbbc8caa

@ -179,7 +179,6 @@ static void SCRConfDeInitLocalResources(DetectEngineCtx *de_ctx, FILE *fd)
{
if (fd != NULL) {
fclose(fd);
fd = NULL;
}
return;

Loading…
Cancel
Save