Fixed initialisation of polled variable.