diff options
| author | Greg Kaiser <gkaiser@google.com> | 2019-12-20 19:39:16 -0800 |
|---|---|---|
| committer | Greg Kaiser <gkaiser@google.com> | 2019-12-20 19:39:16 -0800 |
| commit | d8fdf60367bb6d57adec13dbba7bd9eee3b67f72 (patch) | |
| tree | 933e93b3ebf8e0df05decaf1ca28b12485f03592 /libpackagelistparser/packagelistparser_test.cpp | |
| parent | 5bc7941be3c3f566c6c3b5735d5e13437905f4f3 (diff) | |
fs_mgr: Fix return in error case
We were doing "return -1" in an error case from a function that
returns bool. Since it's non-zero, this gets implicitly cast to
'true', which almost certainly isn't what we wanted here.
Test: TreeHugger
Change-Id: I76c188c22d907fc425cf4d5b0b1575f640a78ee3
Diffstat (limited to 'libpackagelistparser/packagelistparser_test.cpp')
0 files changed, 0 insertions, 0 deletions
