Browse Source

fix possibility of access to *storedType without initialization

pull/434/merge
Stanislav Malyshev 13 years ago
parent
commit
219a682e8e
  1. 3
      ext/intl/msgformat/msgformat_helpers.cpp

3
ext/intl/msgformat/msgformat_helpers.cpp

@ -209,6 +209,9 @@ static HashTable *umsg_parse_format(MessageFormatter_object *mfo,
continue; continue;
} }
} }
} else {
intl_errors_set(&err, U_INVALID_FORMAT_ERROR, "Invalid part type encountered", 0 TSRMLS_CC);
continue;
} }
UMessagePatternArgType argType = p.getArgType(); UMessagePatternArgType argType = p.getArgType();

Loading…
Cancel
Save