Fix use of uninitialized value