With compiler messages its always a good idea to post the message exactly as you see it. And indicate which line of your code it is referring to.

-----

As far as the need to initialise...