Fix Coverity issue:
** CID
1435535: Null pointer dereferences (REVERSE_INULL)
/src/output-json-file.c: 212 in JsonBuildFileInfoRecord()
Where we check a variable for being NULL, when all paths to the
code show that it can't be NULL.
json_object_set_new(fjs, "tx_id", json_integer(ff->txid));
/* xff header */
- if ((xff_cfg != NULL) && !(xff_cfg->flags & XFF_DISABLED) && p->flow != NULL) {
+ if ((xff_cfg != NULL) && !(xff_cfg->flags & XFF_DISABLED)) {
int have_xff_ip = 0;
char buffer[XFF_MAXLEN];