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/opihi/lib.data/starfuncs.c

    r29938 r33985  
    125125                    opihi_flt *zs, opihi_flt *zp, opihi_flt *sk) {
    126126
    127   double Ra2, Ri2, Ro2, rad2;
     127  double Ro2, rad2;
    128128  int i, j, Npts, Nsky;
    129129  int Xs, Xe, Ys, Ye, off, Xc, Yc;
     
    132132 
    133133  /* define circular boundaries */
    134   Ra2 = SQ(Raper);
    135   Ri2 = SQ(Rinner);
    136134  Ro2 = SQ(Router);
    137135
     
    145143/* this sample uses a circular aperture */
    146144# if (0)
     145  double Ri2 = SQ(Rinner);
    147146  Nsky = 0; 
    148147  for (j = Ys; j < Ye; j++) {
Note: See TracChangeset for help on using the changeset viewer.