]> git.mxchange.org Git - simgear.git/blobdiff - simgear/misc/props_test.cxx
Updates to build system to better support automake-1.5
[simgear.git] / simgear / misc / props_test.cxx
index da88d00f46a52e42b547291308d6d73007e930d9..15a48abca1ee50039e8d7283684d34a573338b20 100644 (file)
@@ -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;
   }