# HG changeset patch # User diego # Date 1320416971 0 # Node ID 203e14dbbe53332edce6d2ffc2bdc51384879362 # Parent de376e7bcd65a0baf7aa985cd0a1700b7e386f23 configure: remove erroneous extra set of braces from vsscanf test POSIX does not make any promises about the layout of va_list. Thus initializing it with extra braces might fail to compile on systems with perfectly fine vsscanf support. Skip the initialization instead, which also avoids warnings. diff -r de376e7bcd65 -r 203e14dbbe53 configure --- a/configure Fri Nov 04 12:30:42 2011 +0000 +++ b/configure Fri Nov 04 14:29:31 2011 +0000 @@ -3843,7 +3843,7 @@ #define _ISOC99_SOURCE #include #include -int main(void) { va_list ap = { { 0 } }; vsscanf("foo", "bar", ap); return 0; } +int main(void) { va_list ap; vsscanf("foo", "bar", ap); return 0; } EOF cc_check || { vsscanf=no ; def_vsscanf='#undef HAVE_VSSCANF' ; } echores "$vsscanf"