mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-05 05:30:29 +00:00
Moved result declaration outside the if statement to fix irix build
This commit is contained in:
parent
70d500d6c5
commit
2ceaa81fd8
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user