From b082645ccbac14e5c2ee2c55b22a0e635c3eae03 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Tue, 3 Jun 2014 16:39:58 -0700 Subject: [PATCH] Work around "error: variable 'uio' set but not used". I've sent the real fix upstream, and will merge that when they commit it. Change-Id: I75e5cab87026f8990c585d364dd178753d727e2a --- libc/Android.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/libc/Android.mk b/libc/Android.mk index 02fad3bce..c0e1d3244 100644 --- a/libc/Android.mk +++ b/libc/Android.mk @@ -711,6 +711,7 @@ LOCAL_CFLAGS := \ $(libc_common_cflags) \ -Wno-sign-compare -Wno-uninitialized -Wno-unused-parameter \ -Werror \ + -Wno-error=unused-but-set-variable \ -I$(LOCAL_PATH)/upstream-openbsd/android/include \ -I$(LOCAL_PATH)/upstream-openbsd/lib/libc/include \ -I$(LOCAL_PATH)/upstream-openbsd/lib/libc/gdtoa/ \