[trivial PATCH 06/22] [event.c] eliminate build warnings