summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2014-12-12 21:21:08 -0800
committerElliott Hughes <enh@google.com>2014-12-12 21:21:08 -0800
commit5e92aa60a8a7103c71a4607ac05880e536f4195e (patch)
tree596f924194d7e699eb03e6c2f25637f737757956
parent618ea89fc1073904659db5fe5057029989b9be57 (diff)
downloadlibcore-5e92aa60a8a7103c71a4607ac05880e536f4195e.zip
libcore-5e92aa60a8a7103c71a4607ac05880e536f4195e.tar.gz
libcore-5e92aa60a8a7103c71a4607ac05880e536f4195e.tar.bz2
Fix Mac build (unused parameter).
Change-Id: I164eb9083cc17f858dcbb0da046184440881395d
-rw-r--r--luni/src/main/native/libcore_io_Posix.cpp2
1 files changed, 1 insertions, 1 deletions
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