diff options
author | Elliott Hughes <enh@google.com> | 2014-12-13 05:22:21 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2014-12-13 05:22:22 +0000 |
commit | 4538be5358f41f4844621fb3bc47c21e7b171477 (patch) | |
tree | 6339d3c98410c8e152466440a522e7860f19fd20 | |
parent | 95b38996da42b7fde623dfaa9ba62515aec3b8ed (diff) | |
parent | 5e92aa60a8a7103c71a4607ac05880e536f4195e (diff) | |
download | libcore-4538be5358f41f4844621fb3bc47c21e7b171477.zip libcore-4538be5358f41f4844621fb3bc47c21e7b171477.tar.gz libcore-4538be5358f41f4844621fb3bc47c21e7b171477.tar.bz2 |
Merge "Fix Mac build (unused parameter)."
-rw-r--r-- | luni/src/main/native/libcore_io_Posix.cpp | 2 |
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 |