Fix -Wmaybe-uninitialized warning