From 7f909a7d850f2b9e381be9e83d71d5e5c2ce98ed Mon Sep 17 00:00:00 2001
From: fangyincheng <fangyincheng@sina.com>
Date: Sat, 8 Jun 2019 14:01:06 +0800
Subject: [PATCH] Mod:del a temple var

---
 protocol/dubbo/codec.go | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/protocol/dubbo/codec.go b/protocol/dubbo/codec.go
index dcddd0ea6..b578fb79b 100644
--- a/protocol/dubbo/codec.go
+++ b/protocol/dubbo/codec.go
@@ -96,8 +96,7 @@ func (p *DubboPackage) Unmarshal(buf *bytes.Buffer, opts ...interface{}) error {
 		if pendingRsp == nil {
 			return perrors.Errorf("client.GetPendingResponse(%v) = nil", p.Header.ID)
 		}
-		response := &hessian.Response{RspObj: pendingRsp.reply}
-		p.Body = response
+		p.Body = &hessian.Response{RspObj: pendingRsp.reply}
 	}
 
 	if p.Header.Type&hessian.PackageHeartbeat != 0x00 {
-- 
GitLab