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_apply.c

    r16119 r33985  
    55 
    66  int i, j, I, J;
    7   int nx, ny, Nx, Ny, xdir;
     7  int nx, ny, Nx, Ny;
    88  float rx, ry, x, y;
    99  float *Tx1, *Tx2, *Txc, *Ty1, *Ty2, *Tyc, *V, *V1, *V2;
     
    1919  if ((out = SelectBuffer (argv[3], ANYBUFFER, TRUE)) == NULL) return (FALSE);
    2020
    21   xdir = FALSE;
    22   if (!strcmp (argv[4], "x")) xdir = TRUE;
     21  // xdir = FALSE;
     22  // if (!strcmp (argv[4], "x")) xdir = TRUE;
    2323
    2424  nx = atoi (argv[5]);
Note: See TracChangeset for help on using the changeset viewer.