diff --git a/src/mime-decode.c b/src/mime-decode.c index 5d03a51ff9..51bcda825e 100644 --- a/src/mime-decode.c +++ b/src/mime-decode.c @@ -1081,8 +1081,6 @@ static int FindUrlStrings(const uint8_t *line, uint32_t len, } else { SCFree(tempUrl); } - /* Increment counter */ - url->url_cnt++; } else { SCFree(tempUrl); } diff --git a/src/mime-decode.h b/src/mime-decode.h index bd3183b1db..c6d13af330 100644 --- a/src/mime-decode.h +++ b/src/mime-decode.h @@ -122,7 +122,6 @@ typedef struct MimeDecUrl { uint8_t *url; /**< String representation of full or partial URL (lowercase) */ uint32_t url_len; /**< Length of the URL string */ uint32_t url_flags; /**< Flags indicating type of URL */ - uint32_t url_cnt; /**< Count of URLs with same value */ struct MimeDecUrl *next; /**< Pointer to next URL */ } MimeDecUrl;