Fix "may be used uninitialized" warning