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/dvo/pmeasure.c

    r27435 r33985  
    66int pmeasure (int argc, char **argv) {
    77 
    8   FILE *f;
    98  off_t i, j, k, m;
    109  int kapa, Narg, Npts, NPTS, status, VERBOSE, TimeSelect, Nloaded;
     
    1716  float *Xvec, *Yvec, *Zvec;
    1817  time_t tzero, tend;
    19   void *Signal;
    2018
    2119  SkyTable *sky;
     
    2725  if (!style_args (&graphmode, &argc, argv, &kapa)) return FALSE;
    2826
    29   f = (FILE *) NULL;
    3027  Mz = 17.0;
    3128  Mr = -5.0;
     
    175172
    176173  // prepare to handle interrupt signals
    177   Signal = signal (SIGINT, handle_interrupt);
     174  signal (SIGINT, handle_interrupt);
    178175  interrupt = FALSE;
    179176
Note: See TracChangeset for help on using the changeset viewer.