Start with checking requiredVars, why it is not used in serializeProcSingle?
Implemented with useVarStmts/defVarStmts in ScTraverseConst and writeToValue/readFromValue in ScParseExprValue.
Currently turned off with REMOVE_UNUSED_VAR_STMTS().
It needs to enable and add more tests, current tests: misc_unused_remove*.cpp.
Start with checking
requiredVars
, why it is not used inserializeProcSingle
?Implemented with useVarStmts/defVarStmts in ScTraverseConst and writeToValue/readFromValue in ScParseExprValue. Currently turned off with REMOVE_UNUSED_VAR_STMTS().
It needs to enable and add more tests, current tests: misc_unused_remove*.cpp.