Skip to content

Commit c807ccf

Browse files
yadijsquid-anubis
authored andcommitted
Remove unused scHeaderStats global (#2039)
1 parent dbd76bc commit c807ccf

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/HttpHdrSc.cc

-4
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ static const LookupTable<http_hdr_sc_type>::Record ScAttrs[] {
3535
{nullptr, SC_ENUM_END} /* SC_ENUM_END taken as invalid value */
3636
};
3737
LookupTable<http_hdr_sc_type> scLookupTable(SC_ENUM_END, ScAttrs);
38-
std::vector<HttpHeaderFieldStat> scHeaderStats(SC_ENUM_END);
3938

4039
// used when iterating over flags
4140
http_hdr_sc_type &operator++ (http_hdr_sc_type &aHeader)
@@ -134,9 +133,6 @@ HttpHdrSc::parse(const String * str)
134133
if (sct->isSet(type)) {
135134
if (type != SC_OTHER)
136135
debugs(90, 2, "ignoring duplicate control-directive near '" << item << "' in '" << *str << "'");
137-
138-
++ scHeaderStats[type].repCount;
139-
140136
continue;
141137
}
142138

0 commit comments

Comments
 (0)