Date: Tue, 17 Jun 2008 12:42:12 GMT From: Gabor Kovesdan <gabor@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 143640 for review Message-ID: <200806171242.m5HCgCoc030746@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=143640 Change 143640 by gabor@gabor_server on 2008/06/17 12:42:03 - Eliminate unnecessary variable Affected files ... .. //depot/projects/soc2008/gabor_textproc/grep/util.c#22 edit Differences ... ==== //depot/projects/soc2008/gabor_textproc/grep/util.c#22 (text+ko) ==== @@ -120,7 +120,7 @@ { struct str ln; struct file *f; - int c, t, z, nottext; + int c, t, nottext; if (mflag && (mcount <= 0)) return (0); @@ -163,9 +163,7 @@ --ln.len; ln.line_no++; - z = tail; - - if ((t = procline(&ln, nottext)) == 0 && Bflag > 0 && z == 0) { + if ((t = procline(&ln, nottext)) == 0 && Bflag > 0) { enqueue(&ln); linesqueued++; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200806171242.m5HCgCoc030746>