Author: paultcochrane
Date: Sun Dec  9 14:02:37 2007
New Revision: 23677

Modified:
   trunk/compilers/imcc/parser_util.c

Log:
[imcc] Removed an unused return value compiler warning.


Modified: trunk/compilers/imcc/parser_util.c
==============================================================================
--- trunk/compilers/imcc/parser_util.c  (original)
+++ trunk/compilers/imcc/parser_util.c  Sun Dec  9 14:02:37 2007
@@ -1461,6 +1461,7 @@
     SymReg *preg[3];    /* px, py, pz */
     SymReg *nreg[3];
     Instruction *ins = 0;
+    Instruction *unused_ins = 0;
 
     /* count keys in keyvec */
     kv = keyvec;
@@ -1539,7 +1540,8 @@
         }
     }
     /* make a new undef */
-    iNEW(interp, unit, preg[0], str_dup("Undef"), NULL, 1);
+    unused_ins = iNEW(interp, unit, preg[0], str_dup("Undef"), NULL, 1);
+    UNUSED(unused_ins);
     /* emit the operand */
     INS(interp, unit, name, 0, preg, 3, 0, 1);
     /* emit the LHS op */

Reply via email to