From deca8c5a9728c8367bb92f44e36e42ecd76fc0bf Mon Sep 17 00:00:00 2001 From: Daniel Holbert Date: Mon, 29 Jul 2013 10:21:33 -0700 Subject: [PATCH] Bug 898232: Remove unused variable 'existingScript' from nsXULPrototypeCache::GetScript(). r=jonco --- content/xul/document/src/nsXULPrototypeCache.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/xul/document/src/nsXULPrototypeCache.cpp b/content/xul/document/src/nsXULPrototypeCache.cpp index b270a93d054..015a4fc14ed 100644 --- a/content/xul/document/src/nsXULPrototypeCache.cpp +++ b/content/xul/document/src/nsXULPrototypeCache.cpp @@ -205,7 +205,7 @@ nsXULPrototypeCache::PutScript(nsIURI* aURI, JS::Handle aScriptObject) { #ifdef DEBUG - if (JSScript* existingScript = mScriptTable.Get(aURI)) { + if (mScriptTable.Get(aURI)) { nsAutoCString scriptName; aURI->GetSpec(scriptName); nsAutoCString message("Loaded script ");