Remove unreachable code in amqp-rpc.go.

This commit is contained in:
Jacob Hoffman-Andrews 2015-01-30 10:47:50 -08:00
parent 85e81901ae
commit 213af33864
1 changed files with 0 additions and 2 deletions

View File

@ -225,8 +225,6 @@ func (rpc *AmqpRpcClient) DispatchSync(method string, body []byte) (response []b
err = errors.New("AMQP-RPC timeout")
return
}
err = errors.New("Unknown error in SyncDispatch")
return
}
func (rpc *AmqpRpcClient) SyncDispatchWithTimeout(method string, body []byte, ttl time.Duration) (response []byte, err error) {