diff --git a/libs/freetdm/configure.ac b/libs/freetdm/configure.ac index ce5450abc8..69af09ab01 100644 --- a/libs/freetdm/configure.ac +++ b/libs/freetdm/configure.ac @@ -236,7 +236,8 @@ then AC_LINK_IFELSE( [AC_LANG_PROGRAM( [#include ], - [const char *version = pri_get_version();] + [const char *version = pri_get_version(); + (void)version;] )], [AC_MSG_RESULT([yes]) HAVE_LIBPRI="yes"],