--- autoconf-2.57/lib/autoconf/c.m4.vns 2002-12-03 09:59:53 +0300 +++ autoconf-2.57/lib/autoconf/c.m4 2003-08-31 23:33:16 +0400 @@ -1033,10 +1033,11 @@ p = (char**) ccp; ccp = (char const *const *) p; { /* SCO 3.2v4 cc rejects this. */ - char *t; + char *t = (char *)0; /* removes 'used unitialized' warning */ char const *s = 0 ? (char *) 0 : (char const *) 0; *t++ = 0; + (void)s; /* this removes 'unused var' warning */ } { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ int x[] = {25, 17}; @@ -1051,11 +1052,14 @@ { /* AIX XL C 1.02.0.0 rejects this saying "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ struct s { int j; const int *ap[3]; }; - struct s *b; b->j = 5; + struct s *b = (struct s *)0; b->j = 5; } { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ const int foo = 10; + (void)foo; /* this removes 'unused var' warning */ } + (void)x; /* this removes 'unused var' warning */ + (void)zero; /* this removes 'unused var' warning */ #endif ]])], [ac_cv_c_const=yes],