Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7c0f2824 authored by Glenn Kasten's avatar Glenn Kasten Committed by Android (Google) Code Review
Browse files

Merge "Fix build warnings"

parents 08135cbb 597f8282
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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);
        }
    }
}