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 56e6e07b25
commit cd56f87ca1

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);
}