Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix Java_org_simgrid_msg_File_open() again
authorPierre Veyre <pierre.veyre@cc.in2p3.fr>
Wed, 19 Mar 2014 15:24:41 +0000 (16:24 +0100)
committerPierre Veyre <pierre.veyre@cc.in2p3.fr>
Wed, 19 Mar 2014 15:24:41 +0000 (16:24 +0100)
src/bindings/java/jmsg_file.c

index 92b32c9..c255f87 100644 (file)
@@ -27,7 +27,6 @@ Java_org_simgrid_msg_File_nativeInit(JNIEnv *env, jclass cls) {
 }
 JNIEXPORT void JNICALL
 Java_org_simgrid_msg_File_open(JNIEnv *env, jobject jfile, jobject jpath) {
-  const char *storage = (*env)->GetStringUTFChars(env, jstorage, 0);
   const char *path = (*env)->GetStringUTFChars(env, jpath, 0);
   msg_file_t file;