commit | 01cf378e045dafe136cda39f5559ae1c36119f5b | [log] [tgz] |
---|---|---|
author | Daichi Hirono <hirono@google.com> | Mon Dec 21 13:13:57 2015 +0900 |
committer | Daichi Hirono <hirono@google.com> | Mon Dec 21 13:13:57 2015 +0900 |
tree | 3492e889f14a5fa1d493a3ed73d3c5bcb9920179 | |
parent | bee50c05439191d88df37f20749fff1c700d9684 [diff] |
Fix compiler error on com_android_mtp_AppFuse.cpp. The CL adds explicit assigning for reply_size to prevent 'unused' compiler error. Change-Id: I307758debb23b5bf56ddf71d54813b8cd81d8f49
diff --git a/packages/MtpDocumentsProvider/jni/com_android_mtp_AppFuse.cpp b/packages/MtpDocumentsProvider/jni/com_android_mtp_AppFuse.cpp index dbce609..9267f4c 100644 --- a/packages/MtpDocumentsProvider/jni/com_android_mtp_AppFuse.cpp +++ b/packages/MtpDocumentsProvider/jni/com_android_mtp_AppFuse.cpp
@@ -119,6 +119,9 @@ if (in->minor <= 22) { *reply_size = FUSE_COMPAT_22_INIT_OUT_SIZE; } +#else + // Don't drop this line to prevent an 'unused' compile error. + *reply_size = sizeof(fuse_init_out); #endif out->major = FUSE_KERNEL_VERSION;