summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErwin Coumans <erwincoumans@google.com>2019-05-30 16:13:03 -0700
committerErwin Coumans <erwincoumans@google.com>2019-05-30 16:13:03 -0700
commit9d2a527d870bf5bb10e50d01ba66599fa3299992 (patch)
tree101ac2008e5364bf30e6425791c98e5a13bbdc2a
parent19336611242a9cfed658b16b5679c3beecf4554a (diff)
downloadbullet3-9d2a527d870bf5bb10e50d01ba66599fa3299992.tar.gz
fix issue in MJCF importer due to previous commit
-rw-r--r--examples/Importers/ImportMJCFDemo/BulletMJCFImporter.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/examples/Importers/ImportMJCFDemo/BulletMJCFImporter.cpp b/examples/Importers/ImportMJCFDemo/BulletMJCFImporter.cpp
index 26e490d74..7f5b10106 100644
--- a/examples/Importers/ImportMJCFDemo/BulletMJCFImporter.cpp
+++ b/examples/Importers/ImportMJCFDemo/BulletMJCFImporter.cpp
@@ -1461,7 +1461,6 @@ bool BulletMJCFImporter::loadMJCF(const char* fileName, MJCFErrorLogger* logger,
{
xml_string += (std::string(destBuffer) + "\n");
}
- while (line);
m_data->m_fileIO->fileClose(fileId);
if (parseMJCFString(xml_string.c_str(), logger))