refs #624 Fix cppcheck warnings.

This commit is contained in:
Mathew Sutcliffe
2016-03-21 16:34:54 +00:00
parent 1801616953
commit 5872e96b21
2 changed files with 7 additions and 0 deletions

View File

@@ -256,6 +256,7 @@ namespace BlackMisc
{
QJsonValueRef jsonKey = (*it);
++it;
if (it == array.end()) { qWarning("Odd number of elements in CDictionary::convertFromJson"); return; }
QJsonValueRef jsonValue = (*it);
Key key;
Value value;