Bug 1232596 - initialize variable changed = false, flagged by Coverity. r=dbaron

This commit is contained in:
Bogdan Postelnicu 2015-12-15 00:41:00 +01:00
parent e0946ac595
commit 080d7cd3af

View File

@ -6432,7 +6432,7 @@ CSSParserImpl::ParseDeclarationBlock(uint32_t aFlags, nsCSSContextType aContext)
RefPtr<css::Declaration> declaration = new css::Declaration();
mData.AssertInitialState();
for (;;) {
bool changed;
bool changed = false;
if (!ParseDeclaration(declaration, aFlags, true, &changed, aContext)) {
if (!SkipDeclaration(checkForBraces)) {
break;