IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 24188


Ignore:
Timestamp:
May 14, 2009, 3:50:48 PM (17 years ago)
Author:
mwv
Message:

Cast base 'psTraceSetLevel' commands to (void) to avoid
"error: statement with no effect" warnings.

Location:
trunk/psphot/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/psphot/src/psphotModelBackground.c

    r23287 r24188  
    189189
    190190            if (gotX && gotY) {
    191                 psTraceSetLevel ("psLib.math.vectorFittedStats_v4", 6);
    192                 psTraceSetLevel ("psLib.math.vectorRobustStats", 6);
     191                (void) psTraceSetLevel ("psLib.math.vectorFittedStats_v4", 6);
     192                (void) psTraceSetLevel ("psLib.math.vectorRobustStats", 6);
    193193            } else {
    194                 psTraceSetLevel ("psLib.math.vectorFittedStats_v4", 0);
    195                 psTraceSetLevel ("psLib.math.vectorRobustStats", 0);
     194                (void) psTraceSetLevel ("psLib.math.vectorFittedStats_v4", 0);
     195                (void) psTraceSetLevel ("psLib.math.vectorRobustStats", 0);
    196196            }
    197197            # endif
  • trunk/psphot/src/psphotSourceFits.c

    r23978 r24188  
    263263    psFree (tmpSrc);
    264264
    265     // psTraceSetLevel("psModules.objects.pmSourceFitSet", 0);
     265    // (void) psTraceSetLevel("psModules.objects.pmSourceFitSet", 0);
    266266
    267267    if (okEXT && okDBL) {
Note: See TracChangeset for help on using the changeset viewer.