mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 09:55:36 +00:00
Remove unused variable
This commit is contained in:
parent
5e065f2b89
commit
e35be6e5df
1 changed files with 1 additions and 2 deletions
|
@ -317,7 +317,6 @@ static JNINativeMethod native_methods[] = {
|
|||
|
||||
jint JNI_OnLoad(JavaVM *vm, void *reserved) {
|
||||
JNIEnv *env = NULL;
|
||||
int ret;
|
||||
|
||||
GST_DEBUG_CATEGORY_INIT (debug_category, "tutorial-1", 0, "Android tutorial 1");
|
||||
|
||||
|
@ -328,7 +327,7 @@ jint JNI_OnLoad(JavaVM *vm, void *reserved) {
|
|||
return 0;
|
||||
}
|
||||
jclass klass = (*env)->FindClass (env, "com/gst_sdk_tutorials/tutorial_1/Tutorial1");
|
||||
ret = (*env)->RegisterNatives (env, klass, native_methods, G_N_ELEMENTS(native_methods));
|
||||
(*env)->RegisterNatives (env, klass, native_methods, G_N_ELEMENTS(native_methods));
|
||||
|
||||
pthread_key_create (¤t_jni_env, detach_current_thread);
|
||||
|
||||
|
|
Loading…
Reference in a new issue