Explanation

In analyzing a call to a function that uses a format specifier to guide its operation, Code Analyzer has determined that the number of format operators (%d,%f, and so on) does not match the number of arguments supplied. This message is typically the result of one of the following:

Be aware that Code Analyzer processes format specifiers differently from C or C++, so the rules for matching arguments to the format specifiers are also different. For details, see “Formatting Strings”.

Note that Code Analyzer can display this message erroneously for error or warning functions, because Code Analyzer is also trying to determine whether the first argument is a message ID or a format specifier.


Suggested Action

Make sure that the number of supplied values matches the number of format operators. If not, fix the code. If the message is incorrect, suppress it as described in Adjust Code Analyzer Message Indicators and Messages.