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

Commit fc545733 authored by chh's avatar chh Committed by Gerrit Code Review
Browse files

Merge "Remove unused variables and functions, don't warn about unused parameters"

parents 481c4b64 4048a4bc
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -895,8 +895,6 @@ static JNINativeMethod gMethods[] = {
    {"setNextMediaPlayer",  "(Landroid/media/MediaPlayer;)V",   (void *)android_media_MediaPlayer_setNextMediaPlayer},
};

static const char* const kClassPathName = "android/media/MediaPlayer";

// This function only registers the native methods
static int register_android_media_MediaPlayer(JNIEnv *env)
{
+0 −2
Original line number Diff line number Diff line
@@ -509,8 +509,6 @@ static JNINativeMethod gMethods[] = {
    {"native_finalize",      "()V",                             (void *)android_media_MediaRecorder_native_finalize},
};

static const char* const kClassPathName = "android/media/MediaRecorder";

// This function only registers the native methods, and is called from
// JNI_OnLoad in android_media_MediaPlayer.cpp
int register_android_media_MediaRecorder(JNIEnv *env)
+0 −2
Original line number Diff line number Diff line
@@ -1174,8 +1174,6 @@ static JNINativeMethod gMtpPropertyGroupMethods[] = {
                                        (void *)android_mtp_MtpPropertyGroup_format_date_time},
};

static const char* const kClassPathName = "android/mtp/MtpDatabase";

int register_android_mtp_MtpDatabase(JNIEnv *env)
{
    jclass clazz;
+0 −2
Original line number Diff line number Diff line
@@ -417,8 +417,6 @@ static JNINativeMethod gMethods[] = {
                                        (void *)android_mtp_MtpDevice_import_file},
};

static const char* const kClassPathName = "android/mtp/MtpDevice";

int register_android_mtp_MtpDevice(JNIEnv *env)
{
    jclass clazz;
+0 −2
Original line number Diff line number Diff line
@@ -193,8 +193,6 @@ static JNINativeMethod gMethods[] = {
    {"native_remove_storage",       "(I)V", (void *)android_mtp_MtpServer_remove_storage},
};

static const char* const kClassPathName = "android/mtp/MtpServer";

int register_android_mtp_MtpServer(JNIEnv *env)
{
    jclass clazz;
Loading