Changeset 34089 for trunk/pswarp
- Timestamp:
- Jun 26, 2012, 11:47:13 AM (14 years ago)
- Location:
- trunk/pswarp
- Files:
-
- 4 edited
-
configure.ac (modified) (2 diffs)
-
src/pswarpArguments.c (modified) (2 diffs)
-
src/pswarpExit.c (modified) (1 diff)
-
src/pswarpTransformReadout.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pswarp/configure.ac
r23806 r34089 9 9 AM_MAINTAINER_MODE 10 10 11 IPP_STD CFLAGS11 IPP_STDLDFLAGS 12 12 13 13 AC_LANG(C) … … 33 33 dnl Set CFLAGS for build 34 34 IPP_STDOPTS 35 CFLAGS="${CFLAGS} -Wall -Werror" 35 IPP_STDCFLAGS 36 36 37 echo "PSWARP_CFLAGS: $PSWARP_CFLAGS" 37 38 echo "PSWARP_LIBS: $PSWARP_LIBS" -
trunk/pswarp/src/pswarpArguments.c
r31159 r34089 28 28 pmConfig *pswarpArguments (int argc, char **argv) { 29 29 30 bool status;31 30 int N; 32 31 … … 101 100 array = psArrayAlloc(1); 102 101 array->data[0] = psStringCopy(argv[2]); 103 status =psMetadataAddPtr(config->arguments, PS_LIST_TAIL, "SKYCELL", PS_DATA_ARRAY, "", array);102 psMetadataAddPtr(config->arguments, PS_LIST_TAIL, "SKYCELL", PS_DATA_ARRAY, "", array); 104 103 psFree(array); 105 104 -
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); -
trunk/pswarp/src/pswarpTransformReadout.c
r33090 r34089 51 51 } 52 52 53 int nThreads = psMetadataLookupS32(&mdok, config->arguments, "NTHREADS"); // Number of threads54 if (!mdok) {55 nThreads = 0;56 }53 // XXX unused int nThreads = psMetadataLookupS32(&mdok, config->arguments, "NTHREADS"); // Number of threads 54 // XXX unused if (!mdok) { 55 // XXX unused nThreads = 0; 56 // XXX unused } 57 57 float poorFrac = psMetadataLookupF32(NULL, config->arguments, "POOR.FRAC"); ///< Flux fraction for "poor" 58 58
Note:
See TracChangeset
for help on using the changeset viewer.
