Forgot to initialise a local variable