From b5281154078e768c43bf75d70df66c61542c580a Mon Sep 17 00:00:00 2001 From: NeilBrown Date: Thu, 17 May 2012 17:14:44 +1000 Subject: [PATCH] extract: removed unused variable: lineno lineno isn't used, isn't initialised, but is incremented. So some compilers ignore it completely and others complain that it is no initialised. Just remove it. Reported-by: "P. Martin" Signed-off-by: NeilBrown --- extract.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/extract.c b/extract.c index ba81ec0..940de27 100644 --- a/extract.c +++ b/extract.c @@ -195,7 +195,6 @@ int split_patch(struct stream f, struct stream *f1, struct stream *f2) */ int split_merge(struct stream f, struct stream *f1, struct stream *f2, struct stream *f3) { - int lineno; int state = 0; char *cp, *end; struct stream r1, r2, r3; @@ -219,7 +218,6 @@ int split_merge(struct stream f, struct stream *f1, struct stream *f2, struct st * 5 in file 1/3 */ int len = end-cp; - lineno++; switch (state) { case 0: if (len >= 8 && -- 2.39.5