aboutsummaryrefslogtreecommitdiff
path: root/android/WALT/app/src/main/jni/sync_clock_jni.c
diff options
context:
space:
mode:
authorAndrew Lehmer <alehmer@google.com>2017-04-27 11:24:39 -0700
committerAndrew Lehmer <alehmer@google.com>2017-04-27 11:24:39 -0700
commited462e937cd99e9aaee98613c4e3e0469145d719 (patch)
tree11234e8c4682a3a0114b1d4df6135c1222b1b3e4 /android/WALT/app/src/main/jni/sync_clock_jni.c
parente76dcf96b0c451e46cddfa695de8feeb92533937 (diff)
downloadwalt-ed462e937cd99e9aaee98613c4e3e0469145d719.tar.gz
walt: fix internal build system errors
Although external/walt is not part of a full build, the JNI it defines includes an Android.mk which is somehow picked up in test builds. The original code contains several unused parameter warnings that get converted to errors during test builds, and this change cleans those up. Bug: 37744894 Test: `mma -j48` in android/WALT/app/src/main/jni/ builds cleanly Change-Id: I354df5d168bc4550df19258035fdb33ac7249831
Diffstat (limited to 'android/WALT/app/src/main/jni/sync_clock_jni.c')
-rw-r--r--android/WALT/app/src/main/jni/sync_clock_jni.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/android/WALT/app/src/main/jni/sync_clock_jni.c b/android/WALT/app/src/main/jni/sync_clock_jni.c
index 15adfd5..22753fe 100644
--- a/android/WALT/app/src/main/jni/sync_clock_jni.c
+++ b/android/WALT/app/src/main/jni/sync_clock_jni.c
@@ -28,8 +28,8 @@ struct clock_connection clk;
jlong
Java_org_chromium_latency_walt_WaltUsbConnection_syncClock__III(
- JNIEnv* env,
- jobject thiz,
+ __attribute__((unused)) JNIEnv* env,
+ __attribute__((unused)) jobject thiz,
jint fd,
jint endpoint_out,
jint endpoint_in