IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 18, 2012, 8:51:06 PM (14 years ago)
Author:
eugene
Message:

fix some of the "set but not used" errors

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20120601/ippTools/src/pxerrors.c

    r26981 r34034  
    2626psExit pxerrorGetExitStatus(void) {
    2727
    28     psErrorCode err = psErrorCodeLast ();
     28    // psErrorCodeLast returns a psErrorCode, but we are being a bit sleezy and defining a set
     29    // of enum values that have non-overlapping-ranges (not enforced by the compiler)
     30
     31    int err = psErrorCodeLast ();
    2932    switch (err) {
    3033      case PXTOOLS_ERR_SYS:
Note: See TracChangeset for help on using the changeset viewer.