Fix some "may be used uninitialized" compiler warnings