Fix use of an uninitialized variable