diff --git a/compiler/transf.nim b/compiler/transf.nim index 092b11c28a..218bd9413e 100644 --- a/compiler/transf.nim +++ b/compiler/transf.nim @@ -123,7 +123,6 @@ proc newAsgnStmt(c: PTransf, kind: TNodeKind, le: PNode, ri: PNode; isFirstWrite proc transformSymAux(c: PTransf, n: PNode): PNode = let s = n.sym if s.typ != nil and s.typ.callConv == ccClosure: - var body: PNode = nil if s.kind in routineKinds: discard transformBody(c.graph, c.idgen, s, {useCache}+c.flags) if s.kind == skIterator: