]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
output: Remove unused variables/define
authorJeff Lucovsky <jeff@lucovsky.org>
Tue, 28 Jul 2020 13:34:59 +0000 (09:34 -0400)
committerVictor Julien <victor@inliniac.net>
Sun, 2 Aug 2020 12:19:50 +0000 (14:19 +0200)
src/output-json-dhcp.c
src/output-json-dns.c
src/output-json-ftp.c
src/output-json-metadata.c
src/output-json-rdp.c
src/output-json-rfb.c
src/output-json-template-rust.c
src/output-json-template.c
src/output-json-tftp.c

index 73a3d2303fdcda7b5cae485cb0c4ead75e761a51..07e3989e66850dd4fe0aa783505005ac19f572a6 100644 (file)
@@ -55,7 +55,6 @@ typedef struct LogDHCPFileCtx_ {
 
 typedef struct LogDHCPLogThread_ {
     LogDHCPFileCtx *dhcplog_ctx;
-    uint32_t        count;
     MemBuffer      *buffer;
 } LogDHCPLogThread;
 
index 78fa8da3ed651524accd80f4b1e02dff89f36e31..f6d59cc897a9cfcdd42c0bb2aeab5fd4871b6c9e 100644 (file)
@@ -266,8 +266,6 @@ typedef struct LogDnsFileCtx_ {
 typedef struct LogDnsLogThread_ {
     LogDnsFileCtx *dnslog_ctx;
     /** LogFileCtx has the pointer to the file and a mutex to allow multithreading */
-    uint32_t dns_cnt;
-
     MemBuffer *buffer;
 } LogDnsLogThread;
 
index a30e1ff3874c66c16f7da8257dac91c9bb25bcb7..8d3f67457f4a9e6b319a191caa91a4be4a25bc0c 100644 (file)
@@ -55,7 +55,6 @@ typedef struct LogFTPFileCtx_ {
 
 typedef struct LogFTPLogThread_ {
     LogFTPFileCtx *ftplog_ctx;
-    uint32_t            count;
     MemBuffer          *buffer;
 } LogFTPLogThread;
 
index 37d671d2cbe1e34171c2aba5e6f48a7228e2e6d6..43e4f56c0f6955ab79628b7fde86841b417fa51e 100644 (file)
@@ -65,8 +65,6 @@
 
 #define MODULE_NAME "JsonMetadataLog"
 
-#define JSON_STREAM_BUFFER_SIZE 4096
-
 typedef struct MetadataJsonOutputCtx_ {
     LogFileCtx* file_ctx;
     OutputJsonCommonSettings cfg;
index 4c4971b22fbc41b41a1b37f847727d0bf35176ad..bb302c1fc9f3c40f9042b7cce2875965f37c4cfa 100644 (file)
@@ -51,7 +51,6 @@ typedef struct LogRdpFileCtx_ {
 
 typedef struct LogRdpLogThread_ {
     LogRdpFileCtx *rdplog_ctx;
-    uint32_t         count;
     MemBuffer       *buffer;
 } LogRdpLogThread;
 
index e2c75e20187952cbc34deb0b00718d35a0ab7443..45313a80b4d8ba97ec35b683db0589a0bb56f207 100644 (file)
@@ -53,7 +53,6 @@ typedef struct LogRFBFileCtx_ {
 
 typedef struct LogRFBLogThread_ {
     LogRFBFileCtx *rfblog_ctx;
-    uint32_t            count;
     MemBuffer          *buffer;
 } LogRFBLogThread;
 
index 2ea62adbe3b30143a5cf7026f5b62146539fad77..b8cb4d826f68a27ab4bf53cf4bb9682e76dfc5c9 100644 (file)
@@ -61,7 +61,6 @@ typedef struct LogTemplateFileCtx_ {
 
 typedef struct LogTemplateLogThread_ {
     LogTemplateFileCtx *templatelog_ctx;
-    uint32_t            count;
     MemBuffer          *buffer;
 } LogTemplateLogThread;
 
index 52df436ed5f2cf86f7878726f4f17d288236fe2c..8ab25e1977d875a7b97dc2692296208423729bf8 100644 (file)
@@ -60,7 +60,6 @@ typedef struct LogTemplateFileCtx_ {
 
 typedef struct LogTemplateLogThread_ {
     LogTemplateFileCtx *templatelog_ctx;
-    uint32_t            count;
     MemBuffer          *buffer;
 } LogTemplateLogThread;
 
index 2779f5073a2dda9667b2736ec55d5e6e8a2f8054..3a47cfe4cc912fce9e0ce35a15df64ba48ef5067 100644 (file)
@@ -58,7 +58,6 @@ typedef struct LogTFTPFileCtx_ {
 
 typedef struct LogTFTPLogThread_ {
     LogTFTPFileCtx *tftplog_ctx;
-    uint32_t            count;
     MemBuffer          *buffer;
 } LogTFTPLogThread;