Fix build warnings
Change-Id: I543e730aff2d03c18c26b116c9fe9419259808af
This commit is contained in:
@@ -1008,7 +1008,7 @@ error:
|
||||
delete stream;
|
||||
delete codec;
|
||||
close(socket);
|
||||
env->SetIntField(thiz, gNative, NULL);
|
||||
env->SetIntField(thiz, gNative, 0);
|
||||
}
|
||||
|
||||
void remove(JNIEnv *env, jobject thiz, jint socket)
|
||||
@@ -1017,7 +1017,7 @@ void remove(JNIEnv *env, jobject thiz, jint socket)
|
||||
if (group) {
|
||||
if (socket == -1 || !group->remove(socket)) {
|
||||
delete group;
|
||||
env->SetIntField(thiz, gNative, NULL);
|
||||
env->SetIntField(thiz, gNative, 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user