PERFORCE change 143640 for review
    Gabor Kovesdan 
    gabor at FreeBSD.org
       
    Tue Jun 17 12:42:13 UTC 2008
    
    
  
http://perforce.freebsd.org/chv.cgi?CH=143640
Change 143640 by gabor at 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++;
 		}
    
    
More information about the p4-projects
mailing list