Skip to content

Commit aebdc63

Browse files
committed
Disable unused function warnings in release mode
1 parent 801b808 commit aebdc63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ if test "$fs2_debug" = "yes" ; then
274274
else
275275
AC_DEFINE([NDEBUG])
276276
D_CFLAGS="$D_CFLAGS -O2 -Wall -funroll-loops"
277-
D_CFLAGS="$D_CFLAGS -Wno-write-strings -Wno-unused-variable"
277+
D_CFLAGS="$D_CFLAGS -Wno-write-strings -Wno-unused-variable -Wno-unused-function"
278278

279279
AC_C_COMPILE_FLAGS([-Wno-unused-but-set-variable])
280280

0 commit comments

Comments
 (0)