Moved result declaration outside the if statement to fix irix build

This commit is contained in:
sudu%netscape.com 1998-11-03 02:34:50 +00:00
parent 70d500d6c5
commit 2ceaa81fd8

View File

@ -1481,13 +1481,14 @@ nsHashtable* ProxyJNIEnv::theIDTable = NULL;
ProxyJNIEnv::ProxyJNIEnv(nsIJVMPlugin* jvmPlugin, nsISecureJNI2* secureEnv)
: mSecureEnv(secureEnv), mContext(NULL), mJavaThread(NULL)
{
nsresult result;
this->functions = &theFuncs;
if (theIDTable == NULL)
theIDTable = new nsHashtable();
// Ask the JVM for a new nsISecureJNI2, if none provided.
if (secureEnv == NULL)
nsresult result = jvmPlugin->CreateSecureEnv(this, &mSecureEnv);
result = jvmPlugin->CreateSecureEnv(this, &mSecureEnv);
}
ProxyJNIEnv::~ProxyJNIEnv()