From caa941cc7a552988588e90dbdf83a2cff0b7b1f0 Mon Sep 17 00:00:00 2001 From: "mdm@chromium.org" Date: Thu, 30 Jul 2009 20:00:02 +0000 Subject: gcc >= 4.3 fixes Patch from joel.stan@gmail.com: http://codereview.chromium.org/160377 BUG=none TEST=none Review URL: http://codereview.chromium.org/159648 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22085 0039d316-1c4b-4281-b951-d872f2087c98 --- net/base/net_util.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'net/base/net_util.cc') diff --git a/net/base/net_util.cc b/net/base/net_util.cc index 0280338..d51181c 100644 --- a/net/base/net_util.cc +++ b/net/base/net_util.cc @@ -638,7 +638,7 @@ bool IsIDNComponentSafe(const char16* str, std::string languages_list(WideToASCII(languages)); StringTokenizer t(languages_list, ","); while (t.GetNext()) { - if (safe = IsComponentCoveredByLang(component_characters, t.token())) + if ((safe = IsComponentCoveredByLang(component_characters, t.token()))) break; } return safe; -- cgit v1.1