Fix an uninitialized variable bug.