FreeTDM: Make libpri pri_version() check -Wunused-but-set-variable safe

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
This commit is contained in:
Stefan Knoblich 2013-05-10 18:59:38 +02:00
parent 284ce5407b
commit 80a2b76620
1 changed files with 2 additions and 1 deletions

View File

@ -236,7 +236,8 @@ then
AC_LINK_IFELSE(
[AC_LANG_PROGRAM(
[#include <libpri.h>],
[const char *version = pri_get_version();]
[const char *version = pri_get_version();
(void)version;]
)],
[AC_MSG_RESULT([yes])
HAVE_LIBPRI="yes"],