From 0daf3a2e3439ecd248c01bf0efdbbff542a6c474 Mon Sep 17 00:00:00 2001 From: Bogdan Postelnicu Date: Tue, 15 Dec 2015 00:41:00 +0100 Subject: [PATCH] Bug 1232596 - initialize variable changed = false, flagged by Coverity. r=dbaron --- layout/style/nsCSSParser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layout/style/nsCSSParser.cpp b/layout/style/nsCSSParser.cpp index cb53785cd475..721f33825385 100644 --- a/layout/style/nsCSSParser.cpp +++ b/layout/style/nsCSSParser.cpp @@ -6432,7 +6432,7 @@ CSSParserImpl::ParseDeclarationBlock(uint32_t aFlags, nsCSSContextType aContext) RefPtr declaration = new css::Declaration(); mData.AssertInitialState(); for (;;) { - bool changed; + bool changed = false; if (!ParseDeclaration(declaration, aFlags, true, &changed, aContext)) { if (!SkipDeclaration(checkForBraces)) { break;