diff options
author | 2021-09-10 12:23:20 +0800 | |
---|---|---|
committer | 2021-09-10 12:26:51 +0800 | |
commit | 0de8c022aa60c4774247b90ebe6bef33f6844752 (patch) | |
tree | 319d2d2e977198af91dce6fda4753c0757e7e94f | |
parent | fde4c2731123b01b12c1b2aee0ae747276fc6e17 (diff) |
Explicitly note ignored return result
Otherwise Clang will emit -Wunused-but-set-variable warning.
Test: build
Change-Id: I889e6262073db876b9d2da477c3cb33b8f472817
-rw-r--r-- | libartbase/base/unix_file/fd_file.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libartbase/base/unix_file/fd_file.cc b/libartbase/base/unix_file/fd_file.cc index 2102fec8cd..a955b7d402 100644 --- a/libartbase/base/unix_file/fd_file.cc +++ b/libartbase/base/unix_file/fd_file.cc @@ -557,6 +557,7 @@ bool FdFile::Erase(bool unlink) { result = Flush(); result = Close(); // Ignore the errors. + (void) result; return ret_result; } |