Eliminating warning for possibly uninitialized variable use