diff --git a/proxy/http/HttpClientSession.h b/proxy/http/HttpClientSession.h index 5c5ae53b56e..1f08ee0f398 100644 --- a/proxy/http/HttpClientSession.h +++ b/proxy/http/HttpClientSession.h @@ -79,23 +79,23 @@ class HttpClientSession : public ProxyClientSession set_half_close_flag() { half_close = true; - }; + } void clear_half_close_flag() { half_close = false; - }; + } bool get_half_close_flag() const { return half_close; - }; + } virtual void release(IOBufferReader *r); virtual NetVConnection * get_netvc() const { return client_vc; - }; + } virtual void release_netvc() { @@ -107,7 +107,7 @@ class HttpClientSession : public ProxyClientSession get_server_session() const { return bound_ss; - }; + } // Used for the cache authenticated HTTP content feature HttpServerSession *get_bound_ss(); diff --git a/proxy/http/HttpSM.h b/proxy/http/HttpSM.h index 976489902fd..d5226c1e8d6 100644 --- a/proxy/http/HttpSM.h +++ b/proxy/http/HttpSM.h @@ -249,7 +249,7 @@ class HttpSM : public Continuation get_tunnel() { return &tunnel; - }; + } // Debugging routines to dump the SM history, hdrs void dump_state_on_assert(); diff --git a/proxy/http/HttpTransact.cc b/proxy/http/HttpTransact.cc index 8c7e5827c39..60b0dfbf687 100644 --- a/proxy/http/HttpTransact.cc +++ b/proxy/http/HttpTransact.cc @@ -7299,12 +7299,8 @@ HttpTransact::what_is_document_freshness(State *s, HTTPHdr *client_request, HTTP { bool heuristic, do_revalidate = false; int age_limit; - // These aren't used. - // HTTPValCacheControl *cc; - // const char *cc_val; int fresh_limit; ink_time_t current_age, response_date; - ; uint32_t cc_mask, cooked_cc_mask; uint32_t os_specifies_revalidate;