Fixing dead code and go vet moaning

This commit is contained in:
Milos Gajdos
2019-12-05 16:10:49 +00:00
parent 3a10b1cdde
commit 5865e89bed
12 changed files with 5 additions and 19 deletions

View File

@@ -60,7 +60,6 @@ func (j *jsonCodec) ReadHeader(m *codec.Message, mt codec.MessageType) error {
default:
return fmt.Errorf("Unrecognised message type: %v", mt)
}
return nil
}
func (j *jsonCodec) ReadBody(b interface{}) error {