X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FATCDCL%2Fcommlist.cxx;h=034461d3de43865fb22cad0a7746f84072eaacaa;hb=0603aba9ae0d9deb23bd9c00a5a3768b37f317d8;hp=4d27e1c794fcde4ccca9f43e182f7306c7a9ee2e;hpb=aacebaf4b8f101dbad17f20e5136f50cd6991a6f;p=flightgear.git diff --git a/src/ATCDCL/commlist.cxx b/src/ATCDCL/commlist.cxx index 4d27e1c79..034461d3d 100644 --- a/src/ATCDCL/commlist.cxx +++ b/src/ATCDCL/commlist.cxx @@ -81,13 +81,7 @@ bool FGCommList::LoadComms(const SGPath& path) { // read in each line of the file fin >> skipcomment; -#ifdef __MWERKS__ - char c = 0; - while ( fin.get(c) && c != '\0' ) { - fin.putback(c); -#else while ( !fin.eof() ) { -#endif ATCData a; fin >> a; if(a.type == INVALID) {