With more people using opendias it's getting more attention. Therefor I think it's time to clean up some of those really shonkey bits of code that I've wanted to get back to since - the beginning of time.
I've started using 'splint' but it looks to be a bit out of date and I'm thinking it's not the best use of time to work around these problems.
Moved onto using 'cppcheck' which feels a lot more solid.
Anyway, I've made a bunch of changes using these tools, which hopefully will make the codebase easier to maintain going forward.