Ignore:
Timestamp:
10/25/13 12:03:15 (11 years ago)
Author:
Mathieu Morlighem
Message:

CHG: making compiler happy

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/kml/KML_File.cpp

    r15104 r16546  
    9696/*  loop over and process fields within opening and closing tags  */
    9797
    98         while (kstri=KMLFileToken(fid,
    99                                                           &ncom,&pcom)) {
     98        while((kstri=KMLFileToken(fid, &ncom,&pcom))){
    10099                if      (!strncmp(kstri,"</kml", 5)) {
    101100                        xDelete<char>(kstri);
     
    115114        this->AddCommnt(ncom,pcom);
    116115
    117         for (ncom; ncom>0; ncom--)
    118                 xDelete<char>(pcom[ncom-1]);
     116        for(; ncom>0; ncom--) xDelete<char>(pcom[ncom-1]);
    119117        xDelete<char*>(pcom);
    120118
Note: See TracChangeset for help on using the changeset viewer.