Skip to content

Commit

Permalink
parser: rm unused OP_CONNECT & CONNECT_ARG.
Browse files Browse the repository at this point in the history
  • Loading branch information
dwlf committed Mar 16, 2015
1 parent c21e85f commit 6cdf97d
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 @@ -37,14 +37,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 @@ -72,8 +64,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 6cdf97d

Please sign in to comment.