Skip to content

Commit

Permalink
Merge pull request #55 from lloydde/rm-unused-op-connect
Browse files Browse the repository at this point in the history
parser: rm unused OP_CONNECT & CONNECT_ARG.
  • Loading branch information
derekcollison committed Jan 20, 2016
2 parents a03b9ae + 6cdf97d commit 6c5b8c0
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,6 @@ const (
OP_MINUS_ERR
OP_MINUS_ERR_SPC
MINUS_ERR_ARG
OP_C
OP_CO
OP_CON
OP_CONN
OP_CONNE
OP_CONNEC
OP_CONNECT
CONNECT_ARG
OP_M
OP_MS
OP_MSG
Expand Down Expand Up @@ -71,8 +63,6 @@ func (nc *Conn) parse(buf []byte) error {
switch b {
case 'M', 'm':
nc.ps.state = OP_M
case 'C', 'c':
nc.ps.state = OP_C
case 'P', 'p':
nc.ps.state = OP_P
case '+':
Expand Down

0 comments on commit 6c5b8c0

Please sign in to comment.