From a3c8a0460dc3fd2ed9a4df44229dce9033d1ffbe Mon Sep 17 00:00:00 2001 From: Joel Dice Date: Mon, 24 Nov 2008 17:03:00 -0700 Subject: [PATCH] silence GCC 4.3.2 warning in Java_java_lang_Runtime_exec --- classpath/java-lang.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classpath/java-lang.cpp b/classpath/java-lang.cpp index 5fd06cc8fe..8825b8ffa3 100644 --- a/classpath/java-lang.cpp +++ b/classpath/java-lang.cpp @@ -267,7 +267,7 @@ Java_java_lang_Runtime_exec(JNIEnv* e, jclass, // Error if here char c = errno; - write(msg[1], &c, 1); + ssize_t rv UNUSED = write(msg[1], &c, 1); exit(127); } break;