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/relphot/src/MosaicOps.c

    r33963 r34088  
    762762int setMmos_mosaic (Mosaic *myMosaic, off_t Nmos, Image *image, Catalog *catalog, SetMmosInfo *info, FlatCorrectionTable *flatcorr) {
    763763
    764   Image *imageReal;
    765764  off_t j, NimageReal;
    766765
     
    776775  assert (Nmos < Nmosaic);
    777776
    778   imageReal = getimages (&NimageReal, NULL);
     777  // Image *imageReal = getimages (&NimageReal, NULL); returned pointer is not used
     778  getimages (&NimageReal, NULL);
    779779
    780780  /* on PoorImages run, skip good images */
     
    15001500  off_t i, j, m, c, N, ave, Nimage;
    15011501  double *xlist, *ylist;
    1502   double Xmin, Xmax, Ymin, Ymax;
     1502  // double Xmin, Xmax, Ymin, Ymax;
    15031503  char string[64];
    1504   Image *image;
    15051504  Graphdata graphdata;
    15061505
    15071506  if (!MOSAIC_ZEROPT) return;
    15081507
    1509   image = getimages (&Nimage, NULL);
     1508  // Image *image = getimages (&Nimage, NULL); returned value ignored
     1509  getimages (&Nimage, NULL);
    15101510
    15111511  N = 0;
    1512   for (i = 0; i < Nmosaic; i++)
     1512  for (i = 0; i < Nmosaic; i++) {
    15131513    N = MAX (N, N_onMosaic[i]);
     1514  }
    15141515
    15151516  ALLOCATE (xlist, double, N);
     
    15181519  for (i = 0; i < Nmosaic; i++) {
    15191520    N = 0;
    1520     Xmin = Ymin = +360.0;
    1521     Xmax = Ymax = -360.0;
     1521    // Xmin = Ymin = +360.0;
     1522    // Xmax = Ymax = -360.0;
    15221523    for (j = 0; j < N_onMosaic[i]; j++) {
    15231524     
Note: See TracChangeset for help on using the changeset viewer.