diff options
| author | Yi Kong <yikong@google.com> | 2018-03-02 11:27:02 -0500 |
|---|---|---|
| committer | Yi Kong <yikong@google.com> | 2018-03-02 18:42:03 +0000 |
| commit | 808e57e3f3af403f45d44c93da2e275d427f30cf (patch) | |
| tree | a72e65ce5617784ddf2f4b6f752b83976892be76 /trusty/coverage/coverage_test.cpp | |
| parent | fd42c098130890b86ba4bf7d717a0c16b3874bb4 (diff) | |
healthd: Fix negativity check after cast to unsigned enum
mapSysfsString return code is checked for negativity after being casted
to unsigned enum type, which will always be false. This is obviously
unintended behaviour.
Fixes tautological-unsigned-enum-zero-compare warning.
Bug: 72331526
Test: m
Change-Id: Icec76d7a1121cb56fd9d05feb70cede69954c322
Diffstat (limited to 'trusty/coverage/coverage_test.cpp')
0 files changed, 0 insertions, 0 deletions
