Ensure variables are declared at the top of the block, and remove a ';;', which C89 compilers don't like.