diff options
| author | Yi Kong <yikong@google.com> | 2019-10-01 21:52:14 -0700 |
|---|---|---|
| committer | Yi Kong <yikong@google.com> | 2019-10-02 04:58:00 +0000 |
| commit | 3d82f3819cb05630483d2a36b150bb1f1c34d7e4 (patch) | |
| tree | 684eca2d8c00aa242584f2d19104bf91daab45c1 /server/InterfaceController.cpp | |
| parent | c6c8d4ffd6602d2bafcc8fe1451270b02d252b4e (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
