diff options
author | Otto Moerbeek <otto@drijf.net> | 2022-11-30 09:34:08 +0100 |
---|---|---|
committer | Otto Moerbeek <otto@drijf.net> | 2022-11-30 09:34:08 +0100 |
commit | 9a9c6c2f1af3416060363e3bef1cf7a81aed1dc1 (patch) | |
tree | 2ba8073774c27799f4657e434ff349b4ce33d995 /m4/ax_check_sign.m4 | |
parent | da89908ef7d82a90fe5dab8904a65869b5a5d996 (diff) | |
download | autoconf-archive-9a9c6c2f1af3416060363e3bef1cf7a81aed1dc1.tar.gz |
Avoid an unused warning
Diffstat (limited to 'm4/ax_check_sign.m4')
-rw-r--r-- | m4/ax_check_sign.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/ax_check_sign.m4 b/m4/ax_check_sign.m4 index acc1262..d01258e 100644 --- a/m4/ax_check_sign.m4 +++ b/m4/ax_check_sign.m4 @@ -43,7 +43,7 @@ AC_DEFUN([AX_CHECK_SIGN], [ AC_CACHE_CHECK([whether $1 is signed], ax_cv_decl_${typename}_signed, [ AC_COMPILE_IFELSE( [AC_LANG_PROGRAM([[$4]], - [[ int foo @<:@ 1 - 2 * !((($1) -1) < 0) @:>@ ]])], + [[ int foo @<:@ 1 - 2 * !((($1) -1) < 0) @:>@ ; (void)foo[0] ]])], [ eval "ax_cv_decl_${typename}_signed=\"yes\"" ], [ eval "ax_cv_decl_${typename}_signed=\"no\"" ]) ]) |