Changed order of variables in comparison: avoid warning of uninitialised data.

This commit is contained in:
Joakim Hove
2014-02-06 15:05:24 +01:00
parent e17f03b8a0
commit 1943a05b08

View File

@@ -144,8 +144,8 @@ namespace Opm {
if (jsonConfig.has_item("description")) {
m_Description = jsonConfig.get_string("description");
}
if ((m_fixedSize == 0 && m_keywordSizeType == FIXED) || (m_action != INTERNALIZE))
if ((m_keywordSizeType == FIXED && m_fixedSize == 0) || (m_action != INTERNALIZE))
return;
else {
if (numItems() == 0)