Skip to content

Commit ea49694

Browse files
Copilotdadhi
andauthored
refactor: remove redundant n._data = 0 in AddNode (field is already zeroed)
Agent-Logs-Url: https://github.com/dadhi/FastExpressionCompiler/sessions/ec99b322-eedc-4427-8bc8-fd68e2c14865 Co-authored-by: dadhi <39516+dadhi@users.noreply.github.com>
1 parent 9e709de commit ea49694

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

src/FastExpressionCompiler/FlatExpression.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,6 @@ private Idx AddNode(
169169
n.Obj = obj;
170170
n._childIdx = childIdx.It;
171171
n._extraIdx = extraIdx.It;
172-
n._data = 0;
173172
n.NextIdx = 0;
174173
return Idx.Of(Nodes.Count); // Count already incremented by AddDefaultAndGetRef
175174
}

0 commit comments

Comments
 (0)