IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 16190


Ignore:
Timestamp:
Jan 22, 2008, 5:30:50 PM (18 years ago)
Author:
Paul Price
Message:

Suppressing unnecessary warnings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/camera/pmFPAfileDefine.c

    r16186 r16190  
    257257
    258258        // Custom floating-point
    259         const char *floatName = psMetadataLookupStr(NULL, scheme, "FLOAT"); // Name of custom float
    260         if (floatName) {
     259        const char *floatName = psMetadataLookupStr(&mdok, scheme, "FLOAT"); // Name of custom float
     260        if (mdok && floatName) {
    261261            psString fullName = NULL;   // Full name of custom floating-point
    262262            psStringAppend(&fullName, "FLOAT_%s", floatName);
     
    308308
    309309        // Compression options
    310         const char *compressString = psMetadataLookupStr(NULL, scheme, "COMPRESSION"); // Compression type
    311         if (compressString) {
     310        const char *compressString = psMetadataLookupStr(&mdok, scheme, "COMPRESSION"); // Compression type
     311        if (mdok && compressString) {
    312312            psFitsCompressionType type = psFitsCompressionTypeFromString(compressString); // Compression
    313313            psVector *tile = psVectorAlloc(3, PS_TYPE_S32); // Tile sizes
Note: See TracChangeset for help on using the changeset viewer.