IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 19, 2007, 5:31:39 PM (19 years ago)
Author:
jhoblitt
Message:

silence warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/sys/tap_psTrace.c

    r10810 r12512  
    4949
    5050    //    psTraceSetDestination(stderr);
    51     psTraceSetDestination(2);
     51    (void)psTraceSetDestination(2);
    5252
    5353    for (i=0;i<10;i++) {
     
    8989
    9090    //    psTraceSetDestination(stderr);
    91     psTraceSetDestination(2);
     91    (void)psTraceSetDestination(2);
    9292    (void)psTraceSetLevel(".A.B.C.D.E", 5);
    9393
     
    107107    psTraceReset();
    108108    //    psTraceSetDestination(stderr);
    109     psTraceSetDestination(2);
    110     psTraceSetLevel(".A.B", 2);
    111     psTraceSetLevel(".A.B.C.D.E", 5);
    112     psTracePrintLevels();
    113     psTraceSetLevel(".A.B", 10);
     109    (void)psTraceSetDestination(2);
     110    (void)psTraceSetLevel(".A.B", 2);
     111    (void)psTraceSetLevel(".A.B.C.D.E", 5);
     112    psTracePrintLevels();
     113    (void)psTraceSetLevel(".A.B", 10);
    114114    psTracePrintLevels();
    115115
     
    137137
    138138    //    psTraceSetDestination(stderr);
    139     psTraceSetDestination(2);
     139    (void)psTraceSetDestination(2);
    140140
    141141    for (i=0;i<10;i++) {
     
    182182        if (nb == 0)
    183183            //            psTraceSetDestination(stdout);
    184             psTraceSetDestination(1);
     184            (void)psTraceSetDestination(1);
    185185        if (nb == 1)
    186186            //            psTraceSetDestination(stderr);
    187             psTraceSetDestination(2);
     187            (void)psTraceSetDestination(2);
    188188        if (nb == 2)
    189             psTraceSetDestination(0); //NULL
     189            (void)psTraceSetDestination(0); //NULL
    190190        if (nb == 3)
    191             psTraceSetDestination(FD);
     191            (void)psTraceSetDestination(FD);
    192192
    193193        (void)psTraceSetLevel(".", 4);
     
    226226{
    227227    //    psTraceSetDestination(stderr);
    228     psTraceSetDestination(2);
     228    (void)psTraceSetDestination(2);
    229229
    230230    (void)psTraceSetLevel(".", 9);
     
    277277{
    278278    //    psTraceSetDestination(stderr);
    279     psTraceSetDestination(2);
     279    (void)psTraceSetDestination(2);
    280280
    281281    (void)psTraceSetLevel(".", 9);
Note: See TracChangeset for help on using the changeset viewer.