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/paverage.c

    r27435 r33985  
    44int paverage (int argc, char **argv) {
    55 
    6   FILE *f;
    76  off_t i, j;
    87  int kapa, Narg, Npts, NPTS, status, VERBOSE;
     
    1211  unsigned IDclip, IDchoice, LimExclude;
    1312  float *Xvec, *Yvec, *Zvec;
    14   void *Signal;
    1513
    1614  PhotCode *photcode;
     
    2725  if (!style_args (&graphmode, &argc, argv, &kapa)) return FALSE;
    2826
    29   f = (FILE *) NULL;
    3027  Mz = 17.0;
    3128  Mr = -5.0;
     
    10299
    103100  // prepare to handle interrupt signals
    104   Signal = signal (SIGINT, handle_interrupt);
     101  signal (SIGINT, handle_interrupt);
    105102  interrupt = FALSE;
    106103
Note: See TracChangeset for help on using the changeset viewer.