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

    r27435 r33985  
    33int rotate (int argc, char **argv) {
    44 
    5   int i, j, NX, NY, X, Y, Lx, Ly, N, newCenter;
     5  int i, j, NX, NY, X, Y, Lx, Ly, N;
    66  float *in_buff, *out_buff, *c;
    77  double angle, CosAngle, SinAngle, Xo, Yo, dX, dY, fx, fy, x, y, X1, Y1;
     
    1212  Yo = 0;
    1313  if ((N = get_argument (argc, argv, "-center"))) {
    14     newCenter = TRUE;
    1514    remove_argument (N, &argc, argv);
    1615    Xo  = atof(argv[N]);
     
    1918    remove_argument (N, &argc, argv);
    2019  }
    21   else
    22     newCenter  = FALSE;
    2320
    2421  if (argc != 3) {
Note: See TracChangeset for help on using the changeset viewer.