event_parser: remove debug printf
event_parser: fix bug found by clang static checker