X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2Fmisc%2Fprops_test.cxx;h=15a48abca1ee50039e8d7283684d34a573338b20;hb=5bab565cfe4c30d6cf08ecaba50af74d5e4f0c98;hp=da88d00f46a52e42b547291308d6d73007e930d9;hpb=b481ccd7496d5bbfdbc864167fa76894bc164370;p=simgear.git diff --git a/simgear/misc/props_test.cxx b/simgear/misc/props_test.cxx index da88d00f..15a48abc 100644 --- a/simgear/misc/props_test.cxx +++ b/simgear/misc/props_test.cxx @@ -334,10 +334,8 @@ int main (int ac, char ** av) for (int i = 1; i < ac; i++) { cout << "Reading " << av[i] << endl; SGPropertyNode root; - if (!readProperties(av[i], &root)) - cerr << "Failed to read properties from " << av[i] << endl; - else - writeProperties(cout, &root); + readProperties(av[i], &root); + writeProperties(cout, &root); cout << endl; }