From bffceb71156ee39a3aa2289b1a094c313e861217 Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Sat, 25 Oct 2014 15:22:30 +0200 Subject: [PATCH] mime decode: remove unused url counter --- src/mime-decode.c | 2 -- src/mime-decode.h | 1 - 2 files changed, 3 deletions(-) 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;