From 4d03541e52b69231e20038ef1c2b2ae2a7b8aea3 Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Thu, 17 Feb 2022 02:04:42 +0100 Subject: Simplified unnecessary code --- src/stack.nim | 2 -- 1 file changed, 2 deletions(-) (limited to 'src') diff --git a/src/stack.nim b/src/stack.nim index b100263..d6493a3 100644 --- a/src/stack.nim +++ b/src/stack.nim @@ -48,8 +48,6 @@ func Clear*(s: var Stack) = func Duplicate*(s: var Stack) = if s.height > 0: s.Push(s.data[s.height-1]) - else: - s.PushVector((0, 0)) func Swap*(s: var Stack) = let a = s.Pop -- cgit v1.2.3