remove filthy value-cast-void in listener.c