Skip to content

Commit d18a7e7

Browse files
0-wiz-0Thomas Klausner
authored and
Thomas Klausner
committed
IRIX 6.5 cc:
The variable "end" is set but never used. Remove it.
1 parent 6f3acc9 commit d18a7e7

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

checkgroup.c

+3-6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
$NiH: checkgroup.c,v 1.49 2003/12/06 08:45:48 wiz Exp $
2+
$NiH: checkgroup.c,v 1.50 2004/07/10 13:01:16 wiz Exp $
33
44
checkgroup.c -- main program
55
Copyright (C) 2002 Dieter Baron and Thomas Klausner
@@ -504,10 +504,9 @@ parse(map *parts, FILE *f)
504504
struct file *val, **valp;
505505
char *key, *s, *subj, *comment;
506506
char b[8192];
507-
int npart, part, i, end, l, lines;
507+
int npart, part, i, l, lines;
508508
long artno, no_file, size;
509509

510-
end = 0;
511510
no_file = 0;
512511

513512
while (fgets(b, 8192, f)) {
@@ -519,10 +518,8 @@ parse(map *parts, FILE *f)
519518
if (b[l-1] == '\r')
520519
b[--l] = '\0';
521520

522-
if (b[0] == '.' && b[1] == '\0') {
523-
end = 1;
521+
if (b[0] == '.' && b[1] == '\0')
524522
break;
525-
}
526523

527524
s = strtok(b, "\t");
528525
artno = strtol(s, NULL, 10);

0 commit comments

Comments
 (0)