Explanation

It appears that the code never uses the indicated local function or nested function because:

Code Analyzer can present this message erroneously for several reasons, including:


Suggested Action

If the message is correct, but the situation is temporary, consider placing the function definition within a block comment. This makes your intention clear and is easy to reverse.

If machine-generated files contain stubs or template functions that you must complete to obtain the behavior you want, consider keeping this message enabled as a reminder that you still have work to do.

If the message is wrong, suppress it, as described in Adjust Code Analyzer Message Indicators and Messages.