Fix for #209

Fixes #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.