diff options
author | Steven Moreland <smoreland@google.com> | 2017-02-17 22:39:46 -0800 |
---|---|---|
committer | Steven Moreland <smoreland@google.com> | 2017-02-17 22:39:46 -0800 |
commit | 8dd657432832bc5117e644c85e8e2b1ec244d2a0 (patch) | |
tree | 04c845f4fe8ebe9166be3682a7aa35c6c7fdcced /transport/memory | |
parent | 99ab54bf60c61cde44ea8fff16915737c6b8762e (diff) | |
download | libhidl-8dd657432832bc5117e644c85e8e2b1ec244d2a0.tar.gz |
Build with -Wall and -Werror.
Test: pass
Change-Id: I0b14bfca491b67883bdff079b2e863db4691b635
Diffstat (limited to 'transport/memory')
-rw-r--r-- | transport/memory/1.0/default/Android.bp | 1 | ||||
-rw-r--r-- | transport/memory/1.0/default/AshmemMemory.cpp | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/transport/memory/1.0/default/Android.bp b/transport/memory/1.0/default/Android.bp index e3a05c3..3b1b7da 100644 --- a/transport/memory/1.0/default/Android.bp +++ b/transport/memory/1.0/default/Android.bp @@ -16,6 +16,7 @@ cc_library_shared { name: "android.hidl.memory@1.0-impl", compile_multilib: "both", relative_install_path: "hw", + cflags: libhidl_flags, srcs: [ "AshmemMapper.cpp", "AshmemMemory.cpp", diff --git a/transport/memory/1.0/default/AshmemMemory.cpp b/transport/memory/1.0/default/AshmemMemory.cpp index b954bad..912b724 100644 --- a/transport/memory/1.0/default/AshmemMemory.cpp +++ b/transport/memory/1.0/default/AshmemMemory.cpp @@ -41,7 +41,7 @@ Return<void> AshmemMemory::update() { return Void(); } -Return<void> AshmemMemory::updateRange(uint64_t start, uint64_t length) { +Return<void> AshmemMemory::updateRange(uint64_t /* start */, uint64_t /* length */) { // NOOP (since non-remoted memory) return Void(); } |