ci: fix and test with Wunused-macros

Ticket: 6937

Completes ce9bfba76a
pull/11253/head
Philippe Antoine 9 months ago committed by Victor Julien
parent de1de53e2f
commit 358bc05fa1

@ -2263,7 +2263,7 @@ fi
])
AC_SUBST(RUST_FEATURES)
AC_ARG_ENABLE(enable_warnings,
AC_ARG_ENABLE(warnings,
AS_HELP_STRING([--enable-warnings], [Enable supported C compiler warnings]),[enable_warnings=$enableval],[enable_warnings=no])
AS_IF([test "x$enable_warnings" = "xyes"], [
# check if our compiler supports -Wunused-macros

@ -99,10 +99,6 @@ StreamingBufferConfig htp_sbcfg = STREAMING_BUFFER_CONFIG_INITIALIZER;
/** Limit to the number of libhtp messages that can be handled */
#define HTP_MAX_MESSAGES 512
/** a boundary should be smaller in size */
// RFC 2046 states that max boundary size is 70
#define HTP_BOUNDARY_MAX 200U
SC_ATOMIC_DECLARE(uint32_t, htp_config_flags);
#ifdef DEBUG

Loading…
Cancel
Save