Changeset 34089 for trunk/pswarp/src/pswarpExit.c
- Timestamp:
- Jun 26, 2012, 11:47:13 AM (14 years ago)
- File:
-
- 1 edited
-
trunk/pswarp/src/pswarpExit.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pswarp/src/pswarpExit.c
r27563 r34089 20 20 } 21 21 22 psErrorCode errorCode = psErrorCodeLast(); // Error code 22 // gcc -Wswitch complains here if err is declared as type psErrorCode 23 // the collection of ps*ErrorCode values are enums defined separately for 24 // each module (psphot, pswarp, etc). the lowest type, psErrorCode is only the base set and does 25 // not include the possible psphot values 26 27 // for now, to get around this, we just use an int for the switch 28 29 // psErrorCode errorCode = psErrorCodeLast(); // Error code 30 int errorCode = psErrorCodeLast(); // Error code 31 23 32 if (errorCode != PS_ERR_NONE) { 24 33 pmFPAfileFreeSetStrict(false);
Note:
See TracChangeset
for help on using the changeset viewer.
