Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8227 in orxonox.OLD


Ignore:
Timestamp:
Jun 8, 2006, 11:07:19 AM (18 years ago)
Author:
bensch
Message:

gui: less warnings from file

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/gui/src/lib/util/file.cc

    r8226 r8227  
    251251    oFile.put(ch);
    252252  }
     253  return true;
    253254}
    254255
     
    300301bool File::remove()
    301302{
     303  if (!this->exists())
     304    return false;
     305
    302306  this->close();
    303307  unlink(this->_name.c_str());
    304308  delete this->_status;
    305309  this->_status = NULL;
     310
     311  return true;
    306312}
    307313
Note: See TracChangeset for help on using the changeset viewer.