@andyc Neither gcc or clang warn on at least some of the ones I'm finding; while they'll complain about an unused variable, they won't complain about an unused struct definition; there are also some cases where it won't complain about unused static's - in the weird way I tripped over. People do run lots of scanning tools - and one thing I'm hoping from this mail is if someone comes along and says 'Oh yeh, we could add a check to ....'