[BUG #8662] added missing return