IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 31, 2005, 1:04:22 PM (21 years ago)
Author:
eugene
Message:

cleanups so -Wall -Werror succeed, some .h reorgs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/cmd.data/load.c

    r3693 r4689  
    5858  SendGraphCommand (Ximage, 16, "OVER %9d ", n);
    5959 
     60  dx = dy = 0;
    6061  for (n = 0; scan_line (f, line) != EOF;) {
    6162    c = strchr (line, '#');
     
    8788      ddec = dra;
    8889    case 5:
     90      x = ra;
     91      y = dec;
     92      dx = dra;
     93      dy = ddec;
    8994      if (ISCEL) {
    9095        if (!strcmp (type, "LINE")) {
     
    106111          dx = (fabs(x1 - x) + fabs(y1 - y));
    107112        }
    108       }
    109       else {
    110         x = ra;
    111         y = dec;
    112         dx = dra;
    113         dy = ddec;
    114113      }
    115114    }
Note: See TracChangeset for help on using the changeset viewer.