From: Jeff Lucovsky Date: Mon, 8 Apr 2019 22:37:45 +0000 (-0700) Subject: eve/alert: Remove unused results from PrintRawLineHexBuf X-Git-Tag: suricata-5.0.0-beta1~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e222129d53f673b02f28d4aef5bde4e00afe582;p=thirdparty%2Fsuricata.git eve/alert: Remove unused results from PrintRawLineHexBuf This changeset removes the call to `PrintRawLineHexBuf`. The return values were never used. --- diff --git a/src/output-json-alert.c b/src/output-json-alert.c index 7a330b60f6..0014a1b653 100644 --- a/src/output-json-alert.c +++ b/src/output-json-alert.c @@ -659,9 +659,6 @@ static int AlertJsonDecoderEvent(ThreadVars *tv, JsonAlertLogThread *aft, const action = "blocked"; } - char buf[(32 * 3) + 1]; - PrintRawLineHexBuf(buf, sizeof(buf), GET_PKT_DATA(p), GET_PKT_LEN(p) < 32 ? GET_PKT_LEN(p) : 32); - js = json_object(); if (js == NULL) return TM_ECODE_OK;