From: Victor Julien Date: Fri, 2 May 2014 09:01:18 +0000 (+0200) Subject: http-json: init 'fields' to 0 before setting it X-Git-Tag: suricata-2.0.1rc1~15 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2002067fb1c1a3bfcf1f3a69d3ec84cf950e1010;p=thirdparty%2Fsuricata.git http-json: init 'fields' to 0 before setting it httplog_ctx->fields would not be initialized before setting flags in it: Scanbuild: output-json-http.c:491:46: warning: The left expression of the compound assignment is an uninitialized value. The computed value will also be garbage http_ctx->fields |= (1<