diff options
Diffstat (limited to 'lib/traceevent/event-parse-api.c')
-rw-r--r-- | lib/traceevent/event-parse-api.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/traceevent/event-parse-api.c b/lib/traceevent/event-parse-api.c index f2e5d185..fb49d1b0 100644 --- a/lib/traceevent/event-parse-api.c +++ b/lib/traceevent/event-parse-api.c @@ -88,7 +88,7 @@ void tep_clear_flag(struct tep_handle *tep, enum tep_flag flag) bool tep_test_flag(struct tep_handle *tep, enum tep_flag flag) { if (tep) - return (tep->flags & flag); + return tep->flags & flag; return false; } @@ -367,7 +367,7 @@ int tep_get_parsing_failures(struct tep_handle *tep) bool tep_is_old_format(struct tep_handle *tep) { if (tep) - return !!(tep->old_format); + return tep->old_format; return false; } |