[svn:parrot] r41995 - trunk/compilers/imcc

whiteknight at svn.parrot.org whiteknight at svn.parrot.org
Wed Oct 21 21:44:19 UTC 2009


Author: whiteknight
Date: Wed Oct 21 21:44:16 2009
New Revision: 41995
URL: https://trac.parrot.org/parrot/changeset/41995

Log:
[imcc] initialize two strings to shut up some warnings about using uninitialized values. TT #1128 (waiting for help from moritz++ to verify)

Modified:
   trunk/compilers/imcc/parser_util.c

Modified: trunk/compilers/imcc/parser_util.c
==============================================================================
--- trunk/compilers/imcc/parser_util.c	Wed Oct 21 21:42:04 2009	(r41994)
+++ trunk/compilers/imcc/parser_util.c	Wed Oct 21 21:44:16 2009	(r41995)
@@ -386,7 +386,7 @@
     int dirs = 0;
     Instruction *ins;
     op_info_t   *op_info;
-    char fullname[64], format[128];
+    char fullname[64] = "", format[128] = "";
 
     if (STREQ(name, ".annotate")) {
         ins = _mk_instruction(name, "", n, r, 0);


More information about the parrot-commits mailing list