diff options
author | Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org> | 2014-11-23 22:24:32 +0100 |
---|---|---|
committer | Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org> | 2014-11-23 22:24:32 +0100 |
commit | 4048a4bcb1ea709ddb83a4fde3ff5c53e642f7d0 (patch) | |
tree | 2bb9b74e33a63967e283b291011ea2edb24bdc76 /media/jni/android_media_MediaPlayer.cpp | |
parent | ff4dd15cd024f72cbd2b6d547356de030b2dd71c (diff) | |
download | frameworks_base-4048a4bcb1ea709ddb83a4fde3ff5c53e642f7d0.zip frameworks_base-4048a4bcb1ea709ddb83a4fde3ff5c53e642f7d0.tar.gz frameworks_base-4048a4bcb1ea709ddb83a4fde3ff5c53e642f7d0.tar.bz2 |
Remove unused variables and functions, don't warn about unused parameters
Remove unused variables and static functions clang complains about,
disable warnings about unused parameters (needed for clang and for gcc
with -Wextra enabled)
Change-Id: I76a22cd0158b3c7375c54e3d4d15bc1ac448591e
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
Diffstat (limited to 'media/jni/android_media_MediaPlayer.cpp')
-rw-r--r-- | media/jni/android_media_MediaPlayer.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/media/jni/android_media_MediaPlayer.cpp b/media/jni/android_media_MediaPlayer.cpp index 73a924d..820de5b 100644 --- a/media/jni/android_media_MediaPlayer.cpp +++ b/media/jni/android_media_MediaPlayer.cpp @@ -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) { |