Fix Issue #209

The lines that I have removed used to be useful back when the return
value of this function included the state. Now that it doesn't they
just waste CPU cycles & disk space.
Merge pull request #210 from jbeales/issue-209

Fix for #209