leethomason/tinyxml2 — pull request #191 by Dmitry-Me (2014-07-31 11:21:47+00:00)
Title: fgetc() is not required to clear the error indicator on success

It's bad idea to rely on `ferror()` at all times - if `fgetc()` succeeds the error indicator is not required to be reset.