Bug 1048517 - Initialised potentially uninitialised variables; r=cpearce