snort: fix dead Store found by Clang Analyzer
packet-snort.c:515:15: warning: Although the value stored to 'line' is used in the enclosing expression, the value is never actually read from 'line'
This commit is contained in:
parent
3cf55c314e
commit
a4bcc8bd13
|
@ -512,7 +512,7 @@ static gboolean snort_parse_fast_line(const char *line, Alert_t *alert)
|
|||
return FALSE;
|
||||
}
|
||||
|
||||
if (!(line = strstr(line, "] "))) {
|
||||
if (!strstr(line, "] ")) {
|
||||
return FALSE;
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue