Fix using potentially unitialized variable.