fix -Wconditional-uninitialized