Fix Cppcheck warning, uninitialized member variable
This commit is contained in:
parent
f73da16e94
commit
4d66609173
|
@ -1314,6 +1314,7 @@ CheckUninitVar::MyFileInfo::FunctionArg::FunctionArg(const Tokenizer *tokenizer,
|
|||
id(FUNCTION_ID(scope->function)),
|
||||
functionName(scope->className),
|
||||
argnr(argnr_),
|
||||
argnr2(0),
|
||||
variableName(scope->function->getArgumentVar(argnr-1)->name())
|
||||
{
|
||||
location.fileName = tokenizer->list.file(tok);
|
||||
|
|
Loading…
Reference in New Issue