Changeset 7278 for trunk/psModules/src/camera/pmHDU.c
- Timestamp:
- Jun 1, 2006, 2:55:23 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/camera/pmHDU.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/camera/pmHDU.c
r7241 r7278 61 61 psMemSetDeallocator(hdu, (psFreeFunc)hduFree); 62 62 63 if (! extname || strlen(extname) == 0) {63 if (!extname || strlen(extname) == 0) { 64 64 hdu->phu = true; 65 65 hdu->extname = psStringCopy("PHU"); … … 86 86 ) 87 87 { 88 assert(hdu);89 assert(fits);88 PS_ASSERT_PTR_NON_NULL(hdu, false); 89 PS_ASSERT_PTR_NON_NULL(fits, false); 90 90 91 91 // Move to the appropriate extension … … 113 113 ) 114 114 { 115 assert(hdu);116 assert(fits);115 PS_ASSERT_PTR_NON_NULL(hdu, false); 116 PS_ASSERT_PTR_NON_NULL(fits, false); 117 117 118 118 // Read the header; includes the move … … 159 159 ) 160 160 { 161 assert(hdu);162 assert(fits);161 PS_ASSERT_PTR_NON_NULL(hdu, false); 162 PS_ASSERT_PTR_NON_NULL(fits, false); 163 163 164 164 psTrace(__func__, 7, "Writing HDU %s\n", hdu->extname);
Note:
See TracChangeset
for help on using the changeset viewer.
