Fixed typo in comment, no functional changes [ci-skip]
This commit is contained in:
parent
6183f21070
commit
d299cae5ef
|
@ -285,7 +285,7 @@ private:
|
|||
if (!Token::Match(c->var->typeStartToken(), "char|wchar_t")) {
|
||||
continue;
|
||||
}
|
||||
if (Token::Match(tok->next(), "[")) { // Check if it's not being accesed like: 'str[1]'
|
||||
if (Token::Match(tok->next(), "[")) { // Check if it's not being accessed like: 'str[1]'
|
||||
continue;
|
||||
}
|
||||
checkUninitVar->uninitstringError(tok, c->var->name(), c->strncpy_);
|
||||
|
|
Loading…
Reference in New Issue