Internals: Fix compiler warning last commit
This commit is contained in:
parent
b6ecffeb60
commit
14ec6258d9
|
|
@ -1238,7 +1238,7 @@ private:
|
||||||
// Clear output variable
|
// Clear output variable
|
||||||
initVar(VN_CAST(funcp->fvarp(), Var));
|
initVar(VN_CAST(funcp->fvarp(), Var));
|
||||||
// Clear other automatic variables
|
// Clear other automatic variables
|
||||||
funcp->foreach([this, &oldValues](AstVar* varp) {
|
funcp->foreach([this](AstVar* varp) {
|
||||||
if (varp->lifetime().isAutomatic() && !varp->isIO()) initVar(varp);
|
if (varp->lifetime().isAutomatic() && !varp->isIO()) initVar(varp);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue