mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-11 18:24:02 +00:00
Bug 534162: Make sure to initialize local variable 'rv' in nsXHTMLParanoidFragmentSink::AddAttributes. r=jst
This commit is contained in:
parent
87d5852ba4
commit
3240fbd2b2
@ -609,7 +609,7 @@ nsresult
|
||||
nsXHTMLParanoidFragmentSink::AddAttributes(const PRUnichar** aAtts,
|
||||
nsIContent* aContent)
|
||||
{
|
||||
nsresult rv;
|
||||
nsresult rv = NS_OK;
|
||||
|
||||
// use this to check for safe URIs in the few attributes that allow them
|
||||
nsIScriptSecurityManager* secMan = nsContentUtils::GetSecurityManager();
|
||||
|
Loading…
x
Reference in New Issue
Block a user