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

    r31635 r33985  
    99  char bufname[64];
    1010  float *p;
    11   double fx, fy, x, y;
     11  double x, y;
    1212  Image *image;
    1313  Buffer *buf;
     
    5858
    5959  if (GreyScale && Nsubset) {
    60     fx = image[subset[0]].NX / 100;
    61     fy = image[subset[0]].NY / 200;
     60    // double fx = image[subset[0]].NX / 100;
     61    // double fy = image[subset[0]].NY / 200;
    6262    p = (float *) buf[0].matrix.buffer;
    6363    for (y = 0; y < 200; y+=1.0) {
Note: See TracChangeset for help on using the changeset viewer.