Some clean up.

Remove unused variable.

Fix indenting in produced code.
Merge pull request #1238 from melted/cleanup

A little bit CodegenC cleaning