Author: leo
Date: Sun Feb  5 17:16:41 2006
New Revision: 11438

Modified:
   trunk/src/ops/pic.ops
Log:
prevent unused warning, if compiling --optimize

Modified: trunk/src/ops/pic.ops
==============================================================================
--- trunk/src/ops/pic.ops       (original)
+++ trunk/src/ops/pic.ops       Sun Feb  5 17:16:41 2006
@@ -250,7 +250,9 @@ inline op pic_callr__(inconst PMC) :pic 
     opcode_t *pc;
     void **pred_pc;
     INTVAL n_args;
-    PMC *sig;
+#ifndef NDEBUG
+    PMC *sig;       /* sig is currently only inside the assert */
+#endif
 
     ctx = CONTEXT(interpreter->ctx);
     mic = (Parrot_MIC *) cur_opcode[1];

Reply via email to