Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cleanup: zap_leaf_array_read() should use BSWAP_64()
We neuter the byteswap macros in Coverity builds to suppress Coverity complaints about byteswapped data being tainted. However, this does not apply to functions that hardcode byteswapping such as `zap_leaf_array_read()`. We modify `zap_leaf_array_read()` to use `BSWAP_64()`. This suppresses Coverity's complaints and makes the code slightly more succinct. Reported-by: Coverity (CID 1524543) Signed-off-by: Richard Yao <richard.yao@alumni.stonybrook.edu>
- Loading branch information