This check will try to find unused functions. It is best to use this when the whole program is checked, so that all usages is seen by cppcheck.
cppcheck --enable=unusedFunctions path