Silence compiler warning

gcc 4.8 was throwing 'foo' may be used uninitialized in this function
[-Wmaybe-uninitialized]