IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 18, 2008, 2:52:14 PM (19 years ago)
Author:
eugene
Message:

return NULL if output var requested and entry not found

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/libfits/matrix/F_read_portion.c

    r15743 r16139  
    1313  FILE *f;
    1414  Header header;
    15   int status, i, nbytes, Nbytes, Nrec;
    16   unsigned char *byte0, *byte1, *byte2, *byte3, *byte4, *byte5, *byte6, *byte7, ctmp;
    17   int perpix;
     15  int status, nbytes, Nbytes, Nrec;
    1816
    1917  status = gfits_read_header (filename, &header);
     
    5452
    5553# ifdef BYTE_SWAP 
     54 {
     55  int i, perpix;
     56  unsigned char *byte0, *byte1, *byte2, *byte3, *byte4, *byte5, *byte6, *byte7, ctmp;
     57
    5658  perpix = abs(header.bitpix) / 8;
    5759  if (perpix > 1) {
     
    98100    }
    99101  }
     102 }
    100103# endif
    101104
Note: See TracChangeset for help on using the changeset viewer.