The document is archived and information here might be outdated
Compiler Warning (level 4) C4505
Visual Studio 2005
Error Message'function' : unreferenced local function has been removed
The given function is local and not referenced in the body of the module; therefore, the function is dead code.
The compiler did not generate code for this dead function.