commit e50230259a85439f74303a6fac8821ea53bcd8b8
parent 2774ca03b4d427b15db6543e63f91886253df626
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date: Fri, 23 Feb 2018 11:07:55 +0000
[ar] Remove comment
After the changes in inlist() it is hard to detect that
you already consumed all the elements in the list.
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/ar/main.c b/ar/main.c
@@ -411,7 +411,6 @@ run(FILE *fp, int argc, char *argv[],
m.fname);
exit(1);
}
- /* TODO: Implement early break */
fgetpos(fp, &pos);
(*fun)(&m, argc, argv);
fsetpos(fp, &pos);
@@ -440,7 +439,7 @@ merge(void)
for (i = 0; i < 3; i++) {
if ((fi = tmps[i].fp) == NULL)
continue;
- fseek(fi , 0, SEEK_SET);
+ fseek(fi, 0, SEEK_SET);
while ((c = getc(fi)) != EOF)
putc(c, fp);
if (ferror(fi)) {