detect: don't set unused variable

detect.c:3801:13: warning: Value stored to 'tmplist2_tail' is never read
            tmplist2_tail = joingr;
            ^               ~~~~~~
detect.c:3804:13: warning: Value stored to 'tmplist2_tail' is never read
            tmplist2_tail = joingr;
            ^               ~~~~~~
2 warnings generated.
pull/1989/head
Victor Julien 9 years ago
parent 9b6e292a28
commit 2ee3e726a9

@ -3798,10 +3798,10 @@ int CreateGroupedPortList(DetectEngineCtx *de_ctx, DetectPort *port_list, Detect
if (tmplist2 == NULL) {
tmplist2 = joingr;
tmplist2_tail = joingr;
//tmplist2_tail = joingr;
} else {
tmplist2_tail->next = joingr;
tmplist2_tail = joingr;
//tmplist2_tail = joingr;
}
} else {
SCLogDebug("no joingr");

Loading…
Cancel
Save