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/cmd.data/spline_construct.c

    r17903 r33985  
    44int spline_construct_cmd (int argc, char **argv) {
    55 
    6   int i, j, Nx, Ny, xdir;
     6  int i, j, Nx, Ny;
    77  float *Tx, *Ty, *Ty2, *V;
    88  Buffer *in, *out;
     
    3131  gfits_create_matrix (&out[0].header, &out[0].matrix);
    3232
    33   xdir = FALSE;
    34   if (!strcmp (argv[3], "x")) xdir = TRUE;
     33  // int xdir = FALSE;
     34  // if (!strcmp (argv[3], "x")) xdir = TRUE;
    3535  /* ideally, the resulting image should carry this info (in header?) */
    3636
Note: See TracChangeset for help on using the changeset viewer.