IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 10, 2007, 3:32:41 PM (19 years ago)
Author:
Paul Price
Message:

Adding checks on whether trace is enabled, to avoid compiler warnings on unused variable.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/imcombine/pmStack.c

    r13716 r14126  
    88 *  @author GLG, MHPCC
    99 *
    10  *  @version $Revision: 1.6 $ $Name: not supported by cvs2svn $
    11  *  @date $Date: 2007-06-08 02:52:21 $
     10 *  @version $Revision: 1.7 $ $Name: not supported by cvs2svn $
     11 *  @date $Date: 2007-07-11 01:32:41 $
    1212 *
    1313 *  Copyright 2004-2007 Institute for Astronomy, University of Hawaii
     
    506506        }
    507507
     508#ifndef PS_NO_TRACE
    508509        if (psTraceGetLevel("psModules.imcombine") >= 5) {
    509510            for (int i = 0; i < num; i++) {
     
    512513            }
    513514        }
     515#endif
    514516    }
    515517
     
    604606    psFree(pixelMap);
    605607
     608#ifndef PS_NO_TRACE
    606609    if (psTraceGetLevel("psModules.imcombine") >= 5) {
    607610        for (int i = 0; i < num; i++) {
     
    610613        }
    611614    }
     615#endif
    612616
    613617    return true;
Note: See TracChangeset for help on using the changeset viewer.