]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
eve/alert: Remove unused results from PrintRawLineHexBuf
authorJeff Lucovsky <jeff@lucovsky.org>
Mon, 8 Apr 2019 22:37:45 +0000 (15:37 -0700)
committerJeff Lucovsky <jeff@lucovsky.org>
Sat, 27 Apr 2019 12:30:56 +0000 (05:30 -0700)
This changeset removes the call to `PrintRawLineHexBuf`. The
return values were never used.

src/output-json-alert.c

index 7a330b60f6fd95c8f72c89bf039c776374fc7ede..0014a1b6537d3183998493eb7490296103befeeb 100644 (file)
@@ -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;