From 9a58a02559a2014d937504207307c1f04d60dd7f Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Fri, 6 May 2011 13:17:08 +0200 Subject: [PATCH] Wrap HTP code that is only used in debug mode in debug ifdefs. --- src/app-layer-htp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/app-layer-htp.c b/src/app-layer-htp.c index 1caf52abe5..634e737368 100644 --- a/src/app-layer-htp.c +++ b/src/app-layer-htp.c @@ -82,7 +82,7 @@ static uint64_t htp_state_memcnt = 0; static uint8_t need_htp_request_body = 0; - +#ifdef DEBUG /** * \internal * @@ -112,6 +112,7 @@ static const char *HTPLookupPersonalityString(int p) return NULL; } +#endif /* DEBUG */ /** * \internal