Index: net/http/http_response_headers.cc |
=================================================================== |
--- net/http/http_response_headers.cc (revision 49807) |
+++ net/http/http_response_headers.cc (working copy) |
@@ -137,7 +137,7 @@ |
// Locate the start of the next header. |
size_t k = i; |
- while (++k < parsed_.size() && parsed_[k].is_continuation()); |
+ while (++k < parsed_.size() && parsed_[k].is_continuation()) {} |
--k; |
std::string header_name(parsed_[i].name_begin, parsed_[i].name_end); |
@@ -177,7 +177,7 @@ |
// Locate the start of the next header. |
size_t k = i; |
- while (++k < new_parsed.size() && new_parsed[k].is_continuation()); |
+ while (++k < new_parsed.size() && new_parsed[k].is_continuation()) {} |
--k; |
const std::string::const_iterator& name_begin = new_parsed[i].name_begin; |
@@ -208,7 +208,7 @@ |
// Locate the start of the next header. |
size_t k = i; |
- while (++k < parsed_.size() && parsed_[k].is_continuation()); |
+ while (++k < parsed_.size() && parsed_[k].is_continuation()) {} |
--k; |
std::string name(parsed_[i].name_begin, parsed_[i].name_end); |