IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 21, 2010, 6:03:17 PM (16 years ago)
Author:
eugene
Message:

return NULL is header has no defined buffer

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/largefiles.20100314/Ohana/src/libfits/header/F_H_field.c

    r27295 r27378  
    99  int Nwant, Nfound;
    1010  char keyword[10];
     11
     12  if (header[0].buffer == NULL) return NULL;
    1113
    1214  /* create a blank-padded keyword with exactly 8 characters */
     
    5153  }
    5254
    53   return ((char *) NULL);
     55  return NULL;
    5456
    5557/*
     
    6971  off_t i;
    7072  int Nwant, Nfound, Nfield;
     73
     74  if (header[0].buffer == NULL) return NULL;
    7175
    7276  Nfield = strlen (field);
     
    113117  }
    114118
    115   return ((char *) NULL);
     119  return NULL;
    116120
    117121/*
Note: See TracChangeset for help on using the changeset viewer.