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:
parent
56e6e07b25
commit
cd56f87ca1
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user