cvsuser     03/11/16 00:26:14

  Modified:    imcc     imc.c
  Log:
  Fix compile error when IMC_TRACE switched on.
  
  Revision  Changes    Path
  1.65      +5 -3      parrot/imcc/imc.c
  
  Index: imc.c
  ===================================================================
  RCS file: /cvs/public/parrot/imcc/imc.c,v
  retrieving revision 1.64
  retrieving revision 1.65
  diff -u -w -r1.64 -r1.65
  --- imc.c     16 Nov 2003 04:31:40 -0000      1.64
  +++ imc.c     16 Nov 2003 08:26:14 -0000      1.65
  @@ -21,12 +21,14 @@
    */
   void imc_check_units(struct Parrot_Interp *interp, char * caller)
   {
  -    UNUSED(interp);
  -    UNUSED(caller);
   #if IMC_TRACE
       IMC_Unit * unit, *unit_next;
  -    int i = 1;
       static int ncheck;
  +    int i = 1;
  +#endif
  +    UNUSED(interp);
  +    UNUSED(caller);
  +#if IMC_TRACE
       fprintf(stderr, "imc.c: unit check pass %d from %s\n", ++ncheck, caller);
       for(unit = interp->imc_info->imc_units; unit; unit = unit_next) {
           unit_next = unit->next;
  
  
  

Reply via email to