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

Commit 70363cc5 authored by Chih-Hung Hsieh's avatar Chih-Hung Hsieh
Browse files

Remove unused function



Remove an unused static function clang complains about

Change-Id: Id5875960e9f93348c7a3a912f42b5f457af2cdc0
Signed-off-by: default avatarBernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
parent 32ed090f
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -41,14 +41,6 @@ static struct parcel_file_descriptor_offsets_t
    jmethodID mConstructor;
} gParcelFileDescriptorOffsets;

static void checkAndClearExceptionFromCallback(JNIEnv* env, const char* methodName) {
    if (env->ExceptionCheck()) {
        ALOGE("An exception was thrown by callback '%s'.", methodName);
        LOGE_EX(env);
        env->ExceptionClear();
    }
}

static void set_accessory_string(JNIEnv *env, int fd, int cmd, jobjectArray strArray, int index)
{
    char buffer[256];