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_segment.c

    r15743 r16139  
    3838  int status, i, nbytes, Nbytes, Nskip, NbytesData;
    3939  int wantaxis[FT_MAX_NAXES][2];
    40   unsigned char *byte0, *byte1, *byte2, *byte3, *byte4, *byte5, *byte6, *byte7, ctmp;
    4140  double tmp;
    42   int perpix;
    4341
    4442  for (i = 0; i < FT_MAX_NAXES; i++) {
     
    9795
    9896# ifdef BYTE_SWAP 
     97 {
     98  unsigned char *byte0, *byte1, *byte2, *byte3, *byte4, *byte5, *byte6, *byte7, ctmp;
     99  int perpix;
     100
    99101  perpix = abs(header[0].bitpix) / 8;
    100102  if (perpix > 1) {
     
    141143    }
    142144  }
     145 }
    143146# endif
    144147
Note: See TracChangeset for help on using the changeset viewer.