IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

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.

File:
1 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
Note: See TracChangeset for help on using the changeset viewer.