Skip to content
Snippets Groups Projects
Commit 3f9244cb authored by Christian Engwer's avatar Christian Engwer
Browse files

make sure have found a new key before storing this entry

[[Imported from SVN: r6153]]
parent 879e156b
No related branches found
No related tags found
No related merge requests found
......@@ -122,7 +122,13 @@ void ConfigParser::parseCmd(int argc, char* argv [])
continue;
}
else
(*this)[k] = argv[i];
{
if (k.size())
{
(*this)[k] = argv[i];
}
k.clear();
}
}
return;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment