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