From: Victor Julien Date: Fri, 18 Oct 2013 18:12:17 +0000 (+0200) Subject: Dead code removal X-Git-Tag: suricata-2.0beta2~205 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3f8b9dde04aaa010b71db425ca26ee77456bdc44;p=thirdparty%2Fsuricata.git Dead code removal --- 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); }