Make sure to initialize the temporary state variable for while loops.
Merge pull request #114 from pjonsson/init-whilecond

Make sure to initialize the temporary state variable for while loops.