From: wessels <> Date: Fri, 29 May 1998 05:00:05 +0000 (+0000) Subject: compiler warning X-Git-Tag: SQUID_3_0_PRE1~3212 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=69d80593c01f46590637fa45801076b076df1c16;p=thirdparty%2Fsquid.git compiler warning --- diff --git a/src/cf_gen.cc b/src/cf_gen.cc index 2702e66b7e..423ac1e201 100644 --- a/src/cf_gen.cc +++ b/src/cf_gen.cc @@ -1,5 +1,5 @@ /* - * $Id: cf_gen.cc,v 1.22 1998/05/28 22:57:08 wessels Exp $ + * $Id: cf_gen.cc,v 1.23 1998/05/28 23:00:05 wessels Exp $ * * DEBUG: none * AUTHOR: Max Okumoto @@ -132,7 +132,7 @@ main(int argc, char *argv[]) if (NULL == fgets(buff, MAX_LINE, fp)) break; linenum++; - if (t = strchr(buff, '\n')) + if ((t = strchr(buff, '\n'))) *t = '\0'; switch (state) { case sSTART: