diff --git a/src/detect-engine-port.c b/src/detect-engine-port.c index a5562fcd76..8b4659027a 100644 --- a/src/detect-engine-port.c +++ b/src/detect-engine-port.c @@ -181,8 +181,6 @@ void DetectPortCleanupList (DetectPort *head) { DetectPortFree(cur); cur = next; } - - head = NULL; } /** diff --git a/src/source-ipfw.c b/src/source-ipfw.c index 03a8ab8b6a..853ac47512 100644 --- a/src/source-ipfw.c +++ b/src/source-ipfw.c @@ -417,8 +417,6 @@ TmEcode ReceiveIPFWThreadDeinit(ThreadVars *tv, void *data) SCReturnInt(TM_ECODE_FAILED); } - data = (void *)ptv; - SCReturnInt(TM_ECODE_OK); }