travis now is using cppcheck and rats
*: fix a few cppcheck issues, found by Victor