diff options
author | unknown <istruewing@chilla.local> | 2007-04-30 18:49:38 +0200 |
---|---|---|
committer | unknown <istruewing@chilla.local> | 2007-04-30 18:49:38 +0200 |
commit | 3e2cd5749a65ff720248c1a864dfcd9e64fc7d1f (patch) | |
tree | 7bf9e4313e01d0144b146d2529bbcd3ad6fc7607 /config | |
parent | c63e7c3e69f7dc1d3a2dbd531c20587237816277 (diff) | |
download | mariadb-git-3e2cd5749a65ff720248c1a864dfcd9e64fc7d1f.tar.gz |
WL#2936 - Falcon & MySQL plugin interface: server variables
Avoid compiler warnings
cmd-line-utils/readline/rltty.c:
Avoid a compiler warning
config/ac-macros/misc.m4:
Avoid a compiler warning, which could abort ./configure
if CFLAGS contain -Werror.
Diffstat (limited to 'config')
-rw-r--r-- | config/ac-macros/misc.m4 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/ac-macros/misc.m4 b/config/ac-macros/misc.m4 index 6e9dfe8231c..a20db96a950 100644 --- a/config/ac-macros/misc.m4 +++ b/config/ac-macros/misc.m4 @@ -479,7 +479,7 @@ AC_MSG_CHECKING(if conversion of longlong to float works) AC_CACHE_VAL(ac_cv_conv_longlong_to_float, [AC_TRY_RUN([#include <stdio.h> typedef long long longlong; -main() +int main() { longlong ll=1; float f; @@ -487,7 +487,7 @@ main() f = (float) ll; fprintf(file,"%g\n",f); fclose(file); - exit (0); + return (0); }], ac_cv_conv_longlong_to_float=`cat conftestval`, ac_cv_conv_longlong_to_float=0, ifelse([$2], , , ac_cv_conv_longlong_to_float=$2))])dnl if test "$ac_cv_conv_longlong_to_float" = "1" -o "$ac_cv_conv_longlong_to_float" = "yes" then |