fix possibility of access to *storedType without initialization

This commit is contained in:
Stanislav Malyshev 2013-10-20 21:57:33 -07:00
parent ec2e6951b8
commit 219a682e8e

View file

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