IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 6, 2012, 9:16:29 PM (14 years ago)
Author:
eugene
Message:

gcc 4.6.3 adds a new level of pedantry: if a variable is defined and set, but not used, it raises a warning. with -Werror, this forces a lot of minor fixes. I do not think any of the resultings changes caught any real problems, at least not with any commonly used code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20120601/Ohana/src/relastro/src/testparallax.c

    r33652 r33985  
    1010  double R[NPTS], D[NPTS], Time[NPTS], JD[NPTS];
    1111  double X[NPTS], Y[NPTS], dX[NPTS], dY[NPTS], pX[NPTS], pY[NPTS];
    12   double Tref[NPTS], Tjyrs[NPTS], TrefS, TjyrsS, TrefMean, TjyrsMean, Ro, Do;
     12  double Tref[NPTS], Tjyrs[NPTS], TrefS, TjyrsS, TrefMean, Ro, Do;
    1313  Coords coords;
    1414  PMFit fitPAR;
     
    8282  }
    8383  TrefMean = TrefS / Npts;
    84   TjyrsMean = TjyrsS / Npts;
     84  // double TjyrsMean = TjyrsS / Npts;
    8585
    8686  for (i = 0; i < Npts; i++) {
Note: See TracChangeset for help on using the changeset viewer.