-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
This warning only occurs with -O2.
../modules/gnu.c: In function `builtin_format':
../modules/format.c:77: warning: 'str' might be used uninitialized in this
function
2006-07-22 Eric Blake <[EMAIL PROTECTED]>
* modules/format.c (format): Avoid compiler warning that str may
be used uninitialized.
Index: modules/format.c
===================================================================
RCS file: /sources/m4/m4/modules/format.c,v
retrieving revision 1.18
diff -u -p -r1.18 format.c
- --- modules/format.c 17 Jul 2006 13:26:09 -0000 1.18
+++ modules/format.c 22 Jul 2006 21:41:10 -0000
@@ -283,6 +283,9 @@ format (m4_obstack *obs, int argc, m4_sy
else
str = xasprintf (fstart, ARG_STR(argc, argv));
break;
+
+ default:
+ abort ();
}
*fmt = c;
- --
Life is short - so eat dessert first!
Eric Blake [EMAIL PROTECTED]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFEwpuc84KuGfSFAYARAjVxAKDG0UtIXlzCPc0cWDoL3O4I8ghgdgCeM4mX
hp/8olDpzzze7FxGyZJoq24=
=ewrF
-----END PGP SIGNATURE-----
_______________________________________________
M4-patches mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/m4-patches