From 25d38750c69b6828f3f64b18c2aee56375cf57ee Mon Sep 17 00:00:00 2001 From: "beard%netscape.com" Date: Sat, 28 Aug 1999 03:00:59 +0000 Subject: [PATCH] fixing an unused variable warning. --- dom/src/base/nsJSEnvironment.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dom/src/base/nsJSEnvironment.cpp b/dom/src/base/nsJSEnvironment.cpp index ff6a0c950aab..ca16aed535a7 100644 --- a/dom/src/base/nsJSEnvironment.cpp +++ b/dom/src/base/nsJSEnvironment.cpp @@ -249,9 +249,8 @@ nsJSContext::InitializeExternalClasses() nsresult nsJSContext::InitializeLiveConnectClasses() { - nsresult rv = NS_OK; - #if defined(OJI) + nsresult rv = NS_OK; NS_WITH_SERVICE(nsIJVMManager, jvmManager, nsIJVMManager::GetCID(), &rv); if (rv == NS_OK && jvmManager != nsnull) { PRBool javaEnabled = PR_FALSE;