From 5e92aa60a8a7103c71a4607ac05880e536f4195e Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Fri, 12 Dec 2014 21:21:08 -0800 Subject: Fix Mac build (unused parameter). Change-Id: I164eb9083cc17f858dcbb0da046184440881395d --- luni/src/main/native/libcore_io_Posix.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/luni/src/main/native/libcore_io_Posix.cpp b/luni/src/main/native/libcore_io_Posix.cpp index 8991ab1..1e78eee 100644 --- a/luni/src/main/native/libcore_io_Posix.cpp +++ b/luni/src/main/native/libcore_io_Posix.cpp @@ -1035,7 +1035,7 @@ static jobject Posix_open(JNIEnv* env, jobject, jstring javaPath, jint flags, ji return fd != -1 ? jniCreateFileDescriptor(env, fd) : NULL; } -static jobjectArray Posix_pipe2(JNIEnv* env, jobject, jint flags) { +static jobjectArray Posix_pipe2(JNIEnv* env, jobject, jint flags __unused) { #ifdef __APPLE__ jniThrowException(env, "java/lang/UnsupportedOperationException", "no pipe2 on Mac OS"); #else -- cgit v1.1