diff options
| author | Treehugger Robot <treehugger-gerrit@google.com> | 2019-08-12 23:45:36 +0000 |
|---|---|---|
| committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2019-08-12 23:45:36 +0000 |
| commit | 92a3594b12717cadc563bfd227a255dc9f8cc92c (patch) | |
| tree | ac70ca6ef138cff57379e13c8361c35215d12db5 /libpackagelistparser | |
| parent | b5d064f5c6587cf2bcf8a2627f6de4296ffb2d44 (diff) | |
| parent | 38b6297bac6cb3aaa9503c125ec4f4989d9d997d (diff) | |
Merge "libpackageparser: C rules for bools."
Diffstat (limited to 'libpackagelistparser')
| -rw-r--r-- | libpackagelistparser/packagelistparser.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libpackagelistparser/packagelistparser.cpp b/libpackagelistparser/packagelistparser.cpp index ddf558b5b4..59c3a7491a 100644 --- a/libpackagelistparser/packagelistparser.cpp +++ b/libpackagelistparser/packagelistparser.cpp @@ -92,10 +92,7 @@ static bool parse_line(const char* path, size_t line_number, const char* line, p info->uid = uid; // Integer to bool conversions. - if (debuggable != 0 && debuggable != 1) return false; info->debuggable = debuggable; - - if (profileable_from_shell != 0 && profileable_from_shell != 1) return false; info->profileable_from_shell = profileable_from_shell; return true; |
