IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 27, 2010, 5:27:25 PM (16 years ago)
Author:
eugene
Message:

various little issues from --pedantic

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

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/libdvo/src/LoadPhotcodesFITS.c

    r27435 r27491  
    77
    88  PhotCodeData *table = NULL;
    9   PhotCode *photcode;
     9  PhotCode *photcode = NULL;
    1010  FITS_DB db;
    1111  char extname[80];
  • trunk/Ohana/src/libdvo/src/dvo_convert_PS1_DEV_3.c

    r27435 r27491  
    1515    memcpy (&out[i].coords, &in[i].coords, sizeof(Coords));
    1616
    17     strncpy (out[i].name, in[i].name, 127); // out[128], in[128]
    18     out[i].name[127] = 0; // force termination
     17    strncpy (out[i].name, in[i].name, 120); // out[121], in[121]
     18    out[i].name[120] = 0; // force termination
    1919
    2020    out[i].tzero            = in[i].tzero;
Note: See TracChangeset for help on using the changeset viewer.