Repository: trafficserver Updated Branches: refs/heads/master d5307c6d5 -> 88c35d77a
TS-4062: CID 1341764: Remove DEADCODE This DEADCODE will be restored in TS-4061 Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/a68d5834 Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/a68d5834 Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/a68d5834 Branch: refs/heads/master Commit: a68d583467033b634b528c903dfe44fa076da5ed Parents: d5307c6 Author: Masaori Koshiba <[email protected]> Authored: Wed Dec 9 11:28:06 2015 +0900 Committer: Masaori Koshiba <[email protected]> Committed: Thu Dec 10 10:35:02 2015 +0900 ---------------------------------------------------------------------- proxy/http2/HPACK.cc | 3 --- 1 file changed, 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/trafficserver/blob/a68d5834/proxy/http2/HPACK.cc ---------------------------------------------------------------------- diff --git a/proxy/http2/HPACK.cc b/proxy/http2/HPACK.cc index b05f3a8..7e4b2fc 100644 --- a/proxy/http2/HPACK.cc +++ b/proxy/http2/HPACK.cc @@ -343,9 +343,6 @@ encode_string(uint8_t *buf_start, const uint8_t *buf_end, const char *value, siz if (data == NULL) return -1; data_len = huffman_encode(reinterpret_cast<uint8_t *>(data), reinterpret_cast<const uint8_t *>(value), value_len); - } else { - data = const_cast<char *>(value); - data_len = value_len; } // Length
