commit | cd8ab904e1c31df7dc45abd91dbe85dbe60e052f | [log] [tgz] |
---|---|---|
author | Urvang Joshi <urvang@google.com> | Fri Oct 28 12:32:06 2016 -0700 |
committer | Urvang Joshi <urvang@google.com> | Fri Oct 28 14:40:29 2016 -0700 |
tree | c953548a50cc3df5d527aa213fc6b2cd066179c7 | |
parent | 3ff8cb764b3d97ef91c246323801a23a3f8c6619 [diff] |
RANGE_CHECK: "==" || ">" is simply ">=". Also: - For unsigned ints, don't check value >= 0 as that is always true. - Add "-Wlogical-op" warning flag which would have warned that "logical 'or' of collectively exhaustive tests is always true" before this patch. Change-Id: Idf3bd312464397f2df19256fc69b22f345dc7753