Fixed uninitialized variable issues
Added gcc warning about uninitialized vars