From: Wouter Wijngaards Date: Thu, 15 Feb 2007 10:21:18 +0000 (+0000) Subject: unused varibale str. X-Git-Tag: release-1.2.0~25 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9b94ad641ef106f121e2d068bdce13e5ffeb183e;p=thirdparty%2Fldns.git unused varibale str. --- diff --git a/configure.ac b/configure.ac index c994b1c5..fad4108d 100644 --- a/configure.ac +++ b/configure.ac @@ -65,11 +65,11 @@ if test -z "`$CC $CFLAGS $1 -Werror -Wall -c conftest.c 2>&1`"; then eval "cv_prog_cc_flag_needed_$cache=yes" else eval "cv_prog_cc_flag_needed_$cache=fail" -#echo 'Test with flag fails too!' -#cat conftest.c -#echo "$CC $CFLAGS $1 -Werror -Wall -c conftest.c 2>&1" -#echo `$CC $CFLAGS $1 -Werror -Wall -c conftest.c` -#exit 1 +echo 'Test with flag fails too!' +cat conftest.c +echo "$CC $CFLAGS $1 -Werror -Wall -c conftest.c 2>&1" +echo `$CC $CFLAGS $1 -Werror -Wall -c conftest.c` +exit 1 fi ] fi @@ -121,7 +121,6 @@ int test() { char *t; time_t time = 0; char *buf = NULL; - const char* str = NULL; t = ctime_r(&time, buf); tv.tv_usec = 10; srandom(32);