Skip to content

Commit

Permalink
Merge pull request open-mpi#1812 from nrgraham23/java_coverity_fix
Browse files Browse the repository at this point in the history
Fix Java Coverity issue
  • Loading branch information
nrgraham23 authored Jun 23, 2016
2 parents 380cc8f + bb9485b commit 0d85d68
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions ompi/mpi/java/c/mpi_MPI.c
Original file line number Diff line number Diff line change
Expand Up @@ -1157,9 +1157,8 @@ jboolean ompi_java_exceptionCheck(JNIEnv *env, int rc)
(*env)->DeleteLocalRef(env, jmessage);
return JNI_TRUE;
}
else if (JNI_TRUE == jni_exception) {
return JNI_TRUE;
}
/* If we get here, a JNI error has occurred. */
return JNI_TRUE;
}

void* ompi_java_attrSet(JNIEnv *env, jbyteArray jval)
Expand Down

0 comments on commit 0d85d68

Please sign in to comment.