Fix used-uninitialised variable.