Mercurial > hg > orthanc
comparison Core/Lua/LuaFunctionCall.cpp @ 656:08eca5d86aad
fixes to cppcheck
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 04 Nov 2013 11:19:31 +0100 |
parents | 7dec4f3c922c |
children | 2d0a347e8cfc |
comparison
equal
deleted
inserted
replaced
655:93adc693cc60 | 656:08eca5d86aad |
---|---|
128 lua_newtable(context_.lua_); | 128 lua_newtable(context_.lua_); |
129 | 129 |
130 Json::Value::Members members = value.getMemberNames(); | 130 Json::Value::Members members = value.getMemberNames(); |
131 | 131 |
132 for (Json::Value::Members::const_iterator | 132 for (Json::Value::Members::const_iterator |
133 it = members.begin(); it != members.end(); it++) | 133 it = members.begin(); it != members.end(); ++it) |
134 { | 134 { |
135 // Push the index of the cell | 135 // Push the index of the cell |
136 lua_pushstring(context_.lua_, it->c_str()); | 136 lua_pushstring(context_.lua_, it->c_str()); |
137 | 137 |
138 // Push the value of the cell | 138 // Push the value of the cell |