Repeated definition of result

Spotted this via a linter - ocd kicking in!