Skip to content

Commit

Permalink
Removed unreachable code
Browse files Browse the repository at this point in the history
  • Loading branch information
hknutzen committed Apr 12, 2024
1 parent 9a529e9 commit 9a48d9d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions go/pkg/pass1/cut-netspoc.go
Original file line number Diff line number Diff line change
Expand Up @@ -347,10 +347,6 @@ func (c *spoc) markAndSubstElements(
n := new(ast.IntfRef)
n.Type = typ2
n.Router = r
if left, right, found := strings.Cut(net, "."); found {
net = left
n.Extension = right
}
n.Network = net
a.Elements = []ast.Element{n}
}
Expand Down

0 comments on commit 9a48d9d

Please sign in to comment.