From: Henrik Nordstrom Date: Mon, 25 Jul 2011 13:15:24 +0000 (+0200) Subject: silence if assignment warning X-Git-Tag: take08~55^2~39 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c49d44e104e55fa2660d4362e83f18d3eb68fb1e;p=thirdparty%2Fsquid.git silence if assignment warning --- diff --git a/src/cache_cf.cc b/src/cache_cf.cc index 58019d78aa..d2989db00a 100644 --- a/src/cache_cf.cc +++ b/src/cache_cf.cc @@ -3518,7 +3518,7 @@ parse_http_port_specification(http_port_list * s, char *token) if (!Ip::EnableIpv6) s->s.SetIPv4(); debugs(3, 3, "http(s)_port: found Listen on wildcard address: *:" << s->s.GetPort() ); - } else if ( s->s = host ) { /* check/parse numeric IPA */ + } else if ( (s->s = host) ) { /* check/parse numeric IPA */ s->s.SetPort(port); if (!Ip::EnableIpv6) s->s.SetIPv4();