IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 29, 2004, 3:05:37 PM (22 years ago)
Author:
desonia
Message:

fixed trace tests to compile but fail if psLib was compiled with PS_NO_TRACE set.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/sysUtils/tst_psTrace02.c

    r905 r1136  
    2929                                "psTrace()");
    3030
    31         psTraceSetLevel(".", 4);
     31        (void)psTraceSetLevel(".", 4);
    3232        psTrace(".", 5, "(0) This message should not be displayed (%x)\n",
    3333                0xbeefface);
    34         psTraceSetLevel(".", 7);
     34        (void)psTraceSetLevel(".", 7);
    3535        psTrace(".", 5, "(0) This message should be displayed (%x)\n",
    3636                0xbeefface);
    3737
    38         psTraceSetLevel(".a", 4);
     38        (void)psTraceSetLevel(".a", 4);
    3939        psTrace(".a", 5, "(1) This message should not be displayed (%x)\n",
    4040                0xbeefface);
    41         psTraceSetLevel(".a", 7);
     41        (void)psTraceSetLevel(".a", 7);
    4242        psTrace(".a", 5, "(1) This message should be displayed (%x)\n",
    4343                0xbeefface);
    4444
    4545
    46         psTraceSetLevel(".a.b", 4);
     46        (void)psTraceSetLevel(".a.b", 4);
    4747        psTrace(".a.b", 5, "(2) This message should not be displayed (%x)\n",
    4848                0xbeefface);
    49         psTraceSetLevel(".a.b", 7);
     49        (void)psTraceSetLevel(".a.b", 7);
    5050        psTrace(".a.b", 5, "(2) This message should be displayed (%x)\n",
    5151                0xbeefface);
Note: See TracChangeset for help on using the changeset viewer.