comparison OrthancServer/main.cpp @ 657:5425bb6f1ea5

further cppcheck fixes
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 04 Nov 2013 11:46:23 +0100
parents 4aa6f0d79947
children 3bdb5db8e839 96d8410c56cd
comparison
equal deleted inserted replaced
656:08eca5d86aad 657:5425bb6f1ea5
330 context.SetCompressionEnabled(GetGlobalBoolParameter("StorageCompression", false)); 330 context.SetCompressionEnabled(GetGlobalBoolParameter("StorageCompression", false));
331 331
332 std::list<std::string> luaScripts; 332 std::list<std::string> luaScripts;
333 GetGlobalListOfStringsParameter(luaScripts, "LuaScripts"); 333 GetGlobalListOfStringsParameter(luaScripts, "LuaScripts");
334 for (std::list<std::string>::const_iterator 334 for (std::list<std::string>::const_iterator
335 it = luaScripts.begin(); it != luaScripts.end(); it++) 335 it = luaScripts.begin(); it != luaScripts.end(); ++it)
336 { 336 {
337 std::string path = InterpretStringParameterAsPath(*it); 337 std::string path = InterpretStringParameterAsPath(*it);
338 LOG(WARNING) << "Installing the Lua scripts from: " << path; 338 LOG(WARNING) << "Installing the Lua scripts from: " << path;
339 std::string script; 339 std::string script;
340 Toolbox::ReadFile(script, path); 340 Toolbox::ReadFile(script, path);