Fix gcc errors

Yay for -Wmaybe-uninitialized errors