summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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))