astyle fix

This commit is contained in:
Reijo Tomperi 2009-11-07 14:19:25 +02:00
parent 60caefe069
commit 45406f5367
1 changed files with 2 additions and 2 deletions

View File

@ -1412,9 +1412,9 @@ void CheckOther::uninitvar()
break;
--indentlevel;
}
if (Token::Match(tok, "[{};] %var% = malloc|kmalloc (") ||
Token::Match(tok, "[{};] %var% = new char [") )
Token::Match(tok, "[{};] %var% = new char ["))
{
// check that the variable id is non-zero
const unsigned int varid = tok->next()->varId();