Fixed gcc warning for possible uninitialized variable.