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.astro/objload.c

    r13479 r33985  
    5252    for (i = 0; i < Nline; i++) {
    5353      /* we are now using all entries on the *.obj line */
    54       status = sscanf (&buffer[i*CHAR_LINE], "%d %f %f",  &type, &overlay[Noverlay].x, &overlay[Noverlay].y);
     54      status = sscanf (&buffer[i*CHAR_LINE], "%d %f %f",  &type, &overlay[Noverlay].x, &
     55overlay[Noverlay].y);
     56      if (status != 3) continue;
    5557      if (Objtype && (Objtype != type)) continue;
    5658      overlay[Noverlay].type = KII_OVERLAY_BOX;
Note: See TracChangeset for help on using the changeset viewer.