Add clang-tidy support for the CDM
Bug: 256230932 Change-Id: Id3fcf024cd7dcf95218876b81359d6418f5aa067
This commit is contained in:
@@ -171,7 +171,7 @@ bool UrlRequest::GetDebugHeaderFields(
|
||||
// cases of parsing provisioning/license/renewal responses.
|
||||
for (size_t key_pos = find_next(0); key_pos != std::string::npos;
|
||||
key_pos = find_next(key_pos)) {
|
||||
const size_t end_key_pos = response.find(":", key_pos);
|
||||
const size_t end_key_pos = response.find(':', key_pos);
|
||||
const size_t end_value_pos = response.find(kCrLf, key_pos);
|
||||
// Skip if the colon cannot be found. Technically possible to find
|
||||
// "X-Google" inside the value of a nother header field.
|
||||
|
||||
Reference in New Issue
Block a user