[PATCH v2 27/28] Mark unused functions for cppcheck