Don't use the result variable before assignment