You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by ok...@apache.org on 2017/08/28 05:30:27 UTC

[trafficserver] branch master updated: Coverity 1379933: Control flow issues (DEADCODE)

This is an automated email from the ASF dual-hosted git repository.

oknet pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/master by this push:
     new b4128c5  Coverity 1379933:  Control flow issues  (DEADCODE)
b4128c5 is described below

commit b4128c56dd5668858cc0c606c0e899d444aaca79
Author: Oknet Xu <xu...@skyguard.com.cn>
AuthorDate: Mon Aug 28 10:18:21 2017 +0800

    Coverity 1379933:  Control flow issues  (DEADCODE)
---
 iocore/net/UnixNetAccept.cc | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/iocore/net/UnixNetAccept.cc b/iocore/net/UnixNetAccept.cc
index 4f748be..80042bd 100644
--- a/iocore/net/UnixNetAccept.cc
+++ b/iocore/net/UnixNetAccept.cc
@@ -479,9 +479,6 @@ Ldone:
 Lerror:
   server.close();
   e->cancel();
-  if (vc) {
-    vc->free(e->ethread);
-  }
   NET_DECREMENT_DYN_STAT(net_accepts_currently_open_stat);
   delete this;
   return EVENT_DONE;

-- 
To stop receiving notification emails like this one, please contact
['"commits@trafficserver.apache.org" <co...@trafficserver.apache.org>'].