diff --git a/src/detect-engine.c b/src/detect-engine.c index 8c440dff61..d77aa1a8db 100644 --- a/src/detect-engine.c +++ b/src/detect-engine.c @@ -3303,7 +3303,6 @@ static TmEcode ThreadCtxDoInit (DetectEngineCtx *de_ctx, DetectEngineThreadCtx * if (det_ctx->base64_decoded == NULL) { return TM_ECODE_FAILED; } - det_ctx->base64_decoded_len_max = de_ctx->base64_decode_max_len; det_ctx->base64_decoded_len = 0; } diff --git a/src/detect.h b/src/detect.h index 4e31c5fe02..b0147e552f 100644 --- a/src/detect.h +++ b/src/detect.h @@ -1139,7 +1139,6 @@ typedef struct DetectEngineThreadCtx_ { uint8_t *base64_decoded; int base64_decoded_len; - int base64_decoded_len_max; /* counter for the filestore array below -- up here for cache reasons. */ uint16_t filestore_cnt; diff --git a/src/source-pcap-file-directory-helper.h b/src/source-pcap-file-directory-helper.h index b1230b85e9..b6c497ec3b 100644 --- a/src/source-pcap-file-directory-helper.h +++ b/src/source-pcap-file-directory-helper.h @@ -44,7 +44,6 @@ typedef struct PcapFileDirectoryVars_ PcapFileFileVars *current_file; bool should_loop; bool should_recurse; - uint8_t cur_dir_depth; time_t delay; time_t poll_interval; diff --git a/src/source-pcap-file.c b/src/source-pcap-file.c index 4492f4698e..9c9f405eb4 100644 --- a/src/source-pcap-file.c +++ b/src/source-pcap-file.c @@ -319,7 +319,6 @@ TmEcode ReceivePcapFileThreadInit(ThreadVars *tv, const void *initdata, void **d CleanupPcapFileThreadVars(ptv); SCReturnInt(TM_ECODE_OK); } - pv->cur_dir_depth = 0; int should_recurse; pv->should_recurse = false; diff --git a/src/util-mpm.c b/src/util-mpm.c index 23ff230828..9c7c18cfda 100644 --- a/src/util-mpm.c +++ b/src/util-mpm.c @@ -108,7 +108,6 @@ int32_t MpmFactoryRegisterMpmCtxProfile( else pitem->next = nitem; - de_ctx->mpm_ctx_factory_container->no_of_items++; return nitem->id; } diff --git a/src/util-mpm.h b/src/util-mpm.h index 0bcd87899b..2309b75dee 100644 --- a/src/util-mpm.h +++ b/src/util-mpm.h @@ -124,7 +124,6 @@ typedef struct MpmCtxFactoryItem { typedef struct MpmCtxFactoryContainer_ { MpmCtxFactoryItem *items; - int32_t no_of_items; int32_t max_id; } MpmCtxFactoryContainer;