Fix using uninitialized variable.