gcc wrongly thinks a variable may be uninitialized

It should always be initialized. To avoid a warning, made a change.