Fix some missing local variable initializations