Remove invalid return

Motivation:

JNI_OnUnload(...) does not return anything (has void in its signature) so we should not try to return something.

Modifications:

Remove return.

Result:

Fix incorrect but harmless code.
This commit is contained in:
Norman Maurer 2016-02-08 16:49:13 +01:00
parent 85d0c9b573
commit f4798edc07

View File

@ -975,5 +975,5 @@ void JNI_OnUnload(JavaVM* vm, void* reserved) {
// Something is wrong but nothing we can do about this :(
return;
}
return netty_epoll_native_JNI_OnUnLoad(env);
netty_epoll_native_JNI_OnUnLoad(env);
}