diff options
author | Yi Kong <yikong@google.com> | 2019-08-29 19:03:36 -0700 |
---|---|---|
committer | Yi Kong <yikong@google.com> | 2019-08-30 02:09:30 +0000 |
commit | f69c334dea6acdf47a90efb06bf14e67e0e803cf (patch) | |
tree | cee489bc13f8aed1214344db08b8e6c4380a1b4b /startop/scripts/app_startup/lib/adb_utils.py | |
parent | c53985fc51a64346e0a3eb71779b1bbd0b67605b (diff) |
Fix reversed logic
To check if a value falls in a range, it should be
a >= MIN && a <= MAX
instead of
a >= MIN || a <= MAX
Found by an experimental Clang warning change,
https://reviews.llvm.org/D66044.
Test: presubmit
Change-Id: I91e2a04687285d9311fd831197c73af38ec8379c
Diffstat (limited to 'startop/scripts/app_startup/lib/adb_utils.py')
0 files changed, 0 insertions, 0 deletions