Fix a C compilation warning.

This commit is contained in:
ylecollen 2017-01-04 14:49:51 +01:00
parent 4ca8086a39
commit 7f6a63068b

View file

@ -123,7 +123,7 @@ jlong getInstanceId(JNIEnv* aJniEnv, jobject aJavaObject, const char *aCallingCl
{ {
LOGE("## getAccountInstanceId() failure - invalid instance of"); LOGE("## getAccountInstanceId() failure - invalid instance of");
} }
else if (loaderClass = aJniEnv->GetObjectClass(aJavaObject)) else if ((loaderClass = aJniEnv->GetObjectClass(aJavaObject)))
{ {
jfieldID instanceIdField = aJniEnv->GetFieldID(loaderClass, "mNativeId", "J"); jfieldID instanceIdField = aJniEnv->GetFieldID(loaderClass, "mNativeId", "J");