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

    r13479 r33985  
    33int load (int argc, char **argv) {
    44 
    5   int i, N, n, ISCEL;
     5  int i, N, ISCEL;
    66  int kapa, Noverlay, NOVERLAY;
    77  char *c, type[10], string[128], line[1024];
     
    5959
    6060  dx = dy = 0;
    61   for (n = 0; scan_line (f, line) != EOF;) {
     61  while (scan_line (f, line) != EOF) {
    6262    c = strchr (line, '#');
    6363    if (c != (char *) NULL)
Note: See TracChangeset for help on using the changeset viewer.