diff options
author | willchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-10 01:27:46 +0000 |
---|---|---|
committer | willchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-10 01:27:46 +0000 |
commit | d155c510094276cf2fdbc3b23d0ceb387e645ac6 (patch) | |
tree | 9e62a7cc3242c2cac01a20227ed6b82fa3911a9c /net/http | |
parent | 1e2787f96182fedaf7be62ccf041a8406fa23f8d (diff) | |
download | chromium_src-d155c510094276cf2fdbc3b23d0ceb387e645ac6.zip chromium_src-d155c510094276cf2fdbc3b23d0ceb387e645ac6.tar.gz chromium_src-d155c510094276cf2fdbc3b23d0ceb387e645ac6.tar.bz2 |
Fix some coverity warnings in src/net.
Review URL: http://codereview.chromium.org/155315
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20352 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http')
-rw-r--r-- | net/http/http_util.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/http/http_util.cc b/net/http/http_util.cc index f3e0835..5e81dab 100644 --- a/net/http/http_util.cc +++ b/net/http/http_util.cc @@ -592,7 +592,7 @@ std::string HttpUtil::GenerateAcceptLanguageHeader( // q=1.0 is implicit. lang_list_with_q = language; } else { - DCHECK(qvalue10 >= 0 && qvalue10 < 10); + DCHECK_LT(qvalue10, 10U); StringAppendF(&lang_list_with_q, ",%s;q=0.%d", language.c_str(), qvalue10); } |