commit | b45857ebc5cc15c8920be6b9b0c2c70e0707572c | [log] [tgz] |
---|---|---|
author | Stephen Hines <srhines@google.com> | Mon Jan 23 17:22:47 2017 -0800 |
committer | Stephen Hines <srhines@google.com> | Mon Jan 23 17:26:30 2017 -0800 |
tree | c1f86185185ccd6053cb9c64465dba6eb5751c66 | |
parent | 13387baf267a4f74996c7172f8178fb6d4eb0a52 [diff] |
Fix some ordered comparisons with zero for pointers. Bug: http://b/31532493 The latest clang will trigger an error diagnostic "ordered comparison between pointer and zero ..." when you do something like "p > 0". This change replaces the ordered comparisons with proper checks instead. Test: Validated with latest toolchain. Change-Id: I4a127fe2551688c8176bdd31210cf7f2f40baeba