commit | 9709a1f04c1b6d44d75d504c3e200be256e52e50 | [log] [tgz] |
---|---|---|
author | Nick Kralevich <nnk@google.com> | Fri Apr 24 20:25:50 2015 -0700 |
committer | Nick Kralevich <nnk@google.com> | Fri Apr 24 20:27:06 2015 -0700 |
tree | c9492f6241a52d854f24cd6c3681750538934016 | |
parent | e60077e62a441dbcc132b2abb35d998ab48d261c [diff] |
fix compiler error under FORTIFY_SOURCE=2 frameworks/base/libs/androidfw/ObbFile.cpp:340:5: error: ignoring return value of function declared with warn_unused_result attribute [-Werror,-Wunused-result] ftruncate(fd, mFooterStart); ^~~~~~~~~ ~~~~~~~~~~~~~~~~ 1 error generated. amake: *** [out/host/linux-x86/obj/STATIC_LIBRARIES/libandroidfw_intermediates/ObbFile.o] Error 1 Change-Id: I7080d64e7a830a10b41c1ebf33c60d32b7c8356e