commit | 0de8c022aa60c4774247b90ebe6bef33f6844752 | [log] [tgz] |
---|---|---|
author | Yi Kong <yikong@google.com> | Fri Sep 10 12:23:20 2021 +0800 |
committer | Yi Kong <yikong@google.com> | Fri Sep 10 12:26:51 2021 +0800 |
tree | 319d2d2e977198af91dce6fda4753c0757e7e94f | |
parent | fde4c2731123b01b12c1b2aee0ae747276fc6e17 [diff] |
Explicitly note ignored return result Otherwise Clang will emit -Wunused-but-set-variable warning. Test: build Change-Id: I889e6262073db876b9d2da477c3cb33b8f472817
diff --git a/libartbase/base/unix_file/fd_file.cc b/libartbase/base/unix_file/fd_file.cc index 2102fec..a955b7d 100644 --- a/libartbase/base/unix_file/fd_file.cc +++ b/libartbase/base/unix_file/fd_file.cc
@@ -557,6 +557,7 @@ result = Flush(); result = Close(); // Ignore the errors. + (void) result; return ret_result; }