Fix unused variables

This commit is contained in:
v2ray committed 2016-04-26 00:46:04 +02:00
1 parent 26ebd8dde9
commit a7f40da07a
3 files changed
+6 -2

No files matched your search

+3 -1
View File
@@ -129,7 +129,9 @@ func (this *ClientSession) DecodeResponseHeader(reader io.Reader) (*protocol.Res
}
data := buffer.Value[:dataLen]
command, err := UnmarshalCommand(cmdId, data)
header.Command = command
if err == nil {
header.Command = command
}
}
return header, nil