pddl-robot-memory: fix empty printf format string
authorTill Hofmann <hofmann@kbsg.rwth-aachen.de>
Tue, 10 Oct 2017 12:54:06 +0000 (14:54 +0200)
committerTill Hofmann <hofmann@kbsg.rwth-aachen.de>
Tue, 10 Oct 2017 12:54:06 +0000 (14:54 +0200)
src/plugins/pddl-robot-memory/pddl_robot_memory_thread.cpp

index 661f376..f288b1b 100644 (file)
@@ -157,7 +157,7 @@ PddlRobotMemoryThread::loop()
     std::vector<std::string> error_list = ctemplate::TemplateNamelist::GetBadSyntaxList(false, ctemplate::DO_NOT_STRIP);
     for(std::string error : error_list)
     {
-      logger->log_error(name(), "", error.c_str());
+      logger->log_error(name(), "%s", error.c_str());
     }
   }
   //Let ctemplate expand the input