another attempt to fix the spurious "variable might get used uninitialized" GCC warnings

this only occures with recent versions of GCC and optimizations enabled.