mirror of
https://github.com/v2ray/v2ray-core.git
synced 2026-11-18 23:00:12 +00:00
Fix unused variables
This commit is contained in:
1 parent
26ebd8dde9
commit
a7f40da07a
3 files changed
+6
-2
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user