Skip to content

Commit

Permalink
Added comment for unnecessary panic statements for go 1.1, were requi…
Browse files Browse the repository at this point in the history
…red for go 1.0
  • Loading branch information
jjeffery committed May 22, 2013
1 parent 6a66272 commit a137fa4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions server/processor.go
Expand Up @@ -90,6 +90,7 @@ func (proc *requestProcessor) Serve(l net.Listener) error {
}
}
}
// this is no longer required for go 1.1
panic("not reached")
}

Expand Down Expand Up @@ -123,6 +124,7 @@ func (proc *requestProcessor) Listen(l net.Listener) {
// configuration parameters.
_ = client.NewConn(config, rw, proc.ch)
}
// This is no longer required for go 1.1
panic("not reached")
}

Expand Down

0 comments on commit a137fa4

Please sign in to comment.