From 0b1231eaeb237b48393ab4c93e39f4e33fa1a2f8 Mon Sep 17 00:00:00 2001 From: jcheney Date: Mon, 26 Aug 2013 11:53:20 -0400 Subject: [PATCH] Eliminates a compiler warning --- openbr/plugins/jni.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/openbr/plugins/jni.cpp b/openbr/plugins/jni.cpp index 446a1fc..9aa6870 100644 --- a/openbr/plugins/jni.cpp +++ b/openbr/plugins/jni.cpp @@ -65,7 +65,9 @@ class JNITransform : public UntrainableTransform void project(const Template &src, Template &dst) const { - JNIEnv *env; + (void)dst; //Eliminates a compiler warning. + + JNIEnv *env; //Attach current thread to the thread of the JavaVM and access env JNIInitializer::jvm->AttachCurrentThreadAsDaemon((void**)&env, NULL); -- libgit2 0.21.4