Repeated definition of result

Spotted this via a linter - ocd kicking in!
Merge pull request #1 from iancrowther/patch-1

Repeated definition of result