trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zw...@apache.org
Subject trafficserver git commit: Remove some dead code.
Date Sun, 04 Jan 2015 21:52:17 GMT
Repository: trafficserver
Updated Branches:
  refs/heads/master 6b3bbe793 -> a8fbc8a79


Remove some dead code.

Coverity CID #1021669


Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/a8fbc8a7
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/a8fbc8a7
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/a8fbc8a7

Branch: refs/heads/master
Commit: a8fbc8a79dcf38d6fd6ee77de2a82ca029e3b25a
Parents: 6b3bbe7
Author: Leif Hedstrom <zwoop@apache.org>
Authored: Sun Jan 4 14:51:54 2015 -0700
Committer: Leif Hedstrom <zwoop@apache.org>
Committed: Sun Jan 4 14:51:54 2015 -0700

----------------------------------------------------------------------
 proxy/InkAPI.cc | 3 ---
 1 file changed, 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/a8fbc8a7/proxy/InkAPI.cc
----------------------------------------------------------------------
diff --git a/proxy/InkAPI.cc b/proxy/InkAPI.cc
index fdb5bde..93cb80d 100644
--- a/proxy/InkAPI.cc
+++ b/proxy/InkAPI.cc
@@ -2596,9 +2596,6 @@ TSMimeFieldValueGet(TSMBuffer /* bufp ATS_UNUSED */, TSMLoc field_obj,
int idx,
   } else {
     return mime_field_value_get(handle->field_ptr, value_len_ptr);
   }
-
-  *value_len_ptr = 0;
-  return NULL;
 }
 
 void


Mime
View raw message