kopia lustrzana https://github.com/espressif/esp-idf
console: ignore static analysis warnings
rodzic
06c46837ce
commit
585633b254
|
@ -3007,7 +3007,7 @@ static int trex_newnode(TRex *exp, TRexNodeType type)
|
|||
exp->_nallocated *= 2;
|
||||
exp->_nodes = (TRexNode *)realloc(exp->_nodes, exp->_nallocated * sizeof(TRexNode));
|
||||
}
|
||||
exp->_nodes[exp->_nsize++] = n;
|
||||
exp->_nodes[exp->_nsize++] = n; // NOLINT(clang-analyzer-unix.Malloc)
|
||||
newid = exp->_nsize - 1;
|
||||
return (int)newid;
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue