IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 3, 2010, 8:35:01 AM (16 years ago)
Author:
eugene
Message:

some updates for pedantic, optimize (handle return values for some write, system, fscans)

Location:
trunk/Ohana/src/relastro/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/relastro/src/UpdateObjects.c

    r27581 r27588  
    5050  double Tmin, Tmax, Tmean, Trange;
    5151
     52  memset (&fit,    0, sizeof(fit));
     53  memset (&fitAve, 0, sizeof(fitAve));
     54  memset (&fitPM,  0, sizeof(fitPM));
     55  memset (&fitPAR, 0, sizeof(fitPAR));
     56 
    5257  initObjectData (catalog, Ncatalog);
    5358
  • trunk/Ohana/src/relastro/src/plotstuff.c

    r17203 r27588  
    125125  if (PLOTDELAY > 500000) {
    126126    fprintf (stdout, "press return\n");
    127     fscanf (stdin, "%*c");
     127    if (fscanf (stdin, "%*c") != 0) fprintf (stderr, "\n");
    128128  } else {
    129129    usleep (PLOTDELAY);
Note: See TracChangeset for help on using the changeset viewer.