IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 26, 2012, 11:46:01 AM (14 years ago)
Author:
eugene
Message:

updates for pedantic gcc, mods to relphot average mags to handle GPC1 stacks

File:
1 edited

Legend:

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

    r33648 r34088  
    4545  float zscale, zzero;
    4646
    47   int zdata_pixsize, odata_pixsize, idata_pixsize;
     47  int zdata_pixsize, odata_pixsize;
    4848
    4949  int *ztile = NULL;
     
    236236  zdata_pixsize = gfits_vartable_heap_pixsize (zdef.format);
    237237
    238   // size of a pixel in the final image
    239   idata_pixsize = abs(header[0].bitpix) / 8;
     238  // size of a pixel in the final image (not needed)
     239  // idata_pixsize = abs(header[0].bitpix) / 8;
    240240
    241241  // size of a pixel in the output from the decompression routine
     
    480480int gfits_compressed_is_primary (Header *header) {
    481481
    482     int has_ztension, has_zimage;
    483     int ztension, zimage;
    484 
    485     has_zimage   = gfits_scan_alt (header, "ZIMAGE",   "%t", 1, &zimage);
    486     has_ztension = gfits_scan_alt (header, "ZTENSION", "%t", 1, &ztension);
     482  int zimage = FALSE;
     483  // int ztension = FALSE;
     484
     485    int has_zimage   = gfits_scan_alt (header, "ZIMAGE",   "%t", 1, &zimage);
     486    // int has_ztension = gfits_scan_alt (header, "ZTENSION", "%t", 1, &ztension);
    487487
    488488    if (has_zimage && zimage) return (TRUE);
Note: See TracChangeset for help on using the changeset viewer.