* NewLocalRef: Keep the compiler happy, return a value.
authortwisti <none@none>
Thu, 13 Oct 2005 16:10:12 +0000 (16:10 +0000)
committertwisti <none@none>
Thu, 13 Oct 2005 16:10:12 +0000 (16:10 +0000)
src/native/jni.c

index 16fe028d6280a9ff816235fbff51efedd4da5698..16b0398d2199e6f2621133644a2bd294da301b76 100644 (file)
@@ -31,7 +31,7 @@
             Martin Platter
             Christian Thalinger
 
-   $Id: jni.c 3429 2005-10-13 13:48:21Z edwin $
+   $Id: jni.c 3434 2005-10-13 16:10:12Z twisti $
 
 */
 
@@ -1182,6 +1182,10 @@ jobject NewLocalRef(JNIEnv *env, jobject ref)
        /* should not happen, just to be sure */
 
        assert(0);
+
+       /* keep compiler happy */
+
+       return NULL;
 }