summaryrefslogtreecommitdiff
path: root/server/InterfaceController.cpp
diff options
context:
space:
mode:
authorYi Kong <yikong@google.com>2019-10-01 21:52:14 -0700
committerYi Kong <yikong@google.com>2019-10-02 04:58:00 +0000
commit3d82f3819cb05630483d2a36b150bb1f1c34d7e4 (patch)
tree684eca2d8c00aa242584f2d19104bf91daab45c1 /server/InterfaceController.cpp
parentc6c8d4ffd6602d2bafcc8fe1451270b02d252b4e (diff)
Don't cast to unsigned before PERMISSION_UNINSTALLED (-1) is checked
... otherwise the check is no-op. Found by Clang tautological-constant-out-of-range-compare warning. Test: presubmit Bug: 72331526 Change-Id: Ib1abfe74198440b5b60c8c3a3cbf46bca2f5b12c
Diffstat (limited to 'server/InterfaceController.cpp')
0 files changed, 0 insertions, 0 deletions