From 72aea2613ac35598f75b11c3f938e35c2106766c Mon Sep 17 00:00:00 2001 From: Philipp Heckel Date: Wed, 27 Apr 2022 11:23:44 -0400 Subject: [PATCH] Remove superflous if statement --- server/actions.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/server/actions.go b/server/actions.go index 5985283..320c79c 100644 --- a/server/actions.go +++ b/server/actions.go @@ -118,8 +118,6 @@ func (p *actionParser) Parse() ([]*action, error) { a, err := p.parseAction() if err != nil { return nil, err - } else if a == nil { - return actions, err } actions = append(actions, a) }