cppcheck currently runs almost completely cleanly, with only one error (which IMO should be left unfixed):
[src/bitcoin-tx.cpp:149]: (error) Resource leak: f
This pull request automates running cppcheck and ignoring this specific error. This would be useful in continuous integration.
To run: make cppcheck