Skip to content

Commit

Permalink
TS-3147 remove unused variables
Browse files Browse the repository at this point in the history
  • Loading branch information
shukitchan committed Oct 20, 2014
1 parent 0eb1fa1 commit 9d98c57
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions plugins/experimental/esi/esi.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1085,7 +1085,6 @@ modifyResponseHeader(TSCont contp, TSEvent event, void *edata) {
TSMLoc field_loc;
const char *name, *value;
int name_len, value_len;
bool have_content_length = false;
for (int i = 0; i < n_mime_headers; ++i) {
field_loc = TSMimeHdrFieldGet(bufp, hdr_loc, i);
if (!field_loc) {
Expand Down Expand Up @@ -1115,7 +1114,6 @@ modifyResponseHeader(TSCont contp, TSEvent event, void *edata) {
} else if (Utils::areEqual(name, name_len, TS_MIME_FIELD_CONTENT_LENGTH,
TS_MIME_LEN_CONTENT_LENGTH))
{
have_content_length = true;
if (mod_data->head_only) {
destroy_header = true;
TSError("[%s] remove Content-Length", __FUNCTION__);
Expand Down

0 comments on commit 9d98c57

Please sign in to comment.