This patch removes some of the gcc/g++ 4.6.1 warnings for V0.9. It is basically the changes submitted for development earlier plus a couple that are specific to V0.9 since the functionality has changed/the unneeded code was already removed in development.
This is only for V0.9 and there are no test suite changes.
Both V0.9 and development have a warning in sys_scanf.c that appears to be missing functionality (I believe this has been a cppcheck warning for some time) and there are two unused variable warnings in vpi/fstapi.c that I sent to Tony so he can clean these up. I will look at the sys_scanf.c issue once I have everything else looked at, clang compilation and an autoconf warning in V0.9.
Patch file
Applied to git v0_9-branch.