IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 24187


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

Explicitly cast return value of bare 'psTraceSetLevel' statements to void
to avoid pedantic "error: statement with no effect" warnings.
(psTraceSetLevel is of type int.)

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppConfigDump/src/ppConfigDump.c

    r20648 r24187  
    4949{
    5050    psLibInit(NULL);
    51     psTraceSetLevel("err", 10);
     51    (void) psTraceSetLevel("err", 10);
    5252
    5353    // load the site-wide configuration information
  • trunk/ppSub/src/ppSubKernel.c

    r21360 r24187  
    2929    }
    3030
    31     psTraceSetLevel("psModules.imcombine", 7);
     31    (void) psTraceSetLevel("psModules.imcombine", 7);
    3232
    3333    const char *inName = argv[1];       // Input file name
  • trunk/psphot/src/psphotTest.c

    r21355 r24187  
    5050    }
    5151
    52     psTraceSetLevel ("psLib.sys.mutex", 3);
     52    (void) psTraceSetLevel ("psLib.sys.mutex", 3);
    5353
    5454    int nThreads = atoi (argv[2]);
Note: See TracChangeset for help on using the changeset viewer.