diff --git a/content/base/src/nsGenericElement.cpp b/content/base/src/nsGenericElement.cpp index 82bd099b010e..2386bbafc181 100644 --- a/content/base/src/nsGenericElement.cpp +++ b/content/base/src/nsGenericElement.cpp @@ -1864,7 +1864,7 @@ nsGenericElement::HandleDOMEvent(nsIPresContext* aPresContext, } // Find out if we're anonymous. - nsIContent* bindingParent; + nsIContent* bindingParent = nsnull; if (*aDOMEvent) { (*aDOMEvent)->GetTarget(getter_AddRefs(oldTarget)); nsCOMPtr content(do_QueryInterface(oldTarget));