This rule finds functions that are non-public, non-virtual and are never called. Dead functions are often deprecated pieces of code, and should be removed as they may increase object code size, decrease code comprehensibility, and create the possibility of misuse.

public and protected functions are not considered by the check, as they could be part of the program's API and could be used by external programs.

Consider removing the function.