Fixed possible use of uninitialized variable.