Fix uninitialised value warning