mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-02-07 06:53:33 +00:00
Don't pass unused args to printf (#311)
The final print does not print any content, only the byte-offset of the end-block, which makes the A, B params unused. From gcc: bd.c:77:17: warning: too many arguments for format [-Wformat-extra-args] if (o) printf("%08x\n", o, A, B);
This commit is contained in:
parent
777d08a839
commit
206091617a
1 changed files with 1 additions and 1 deletions
|
@ -77,6 +77,6 @@ int main(int argc, char *argv[]) {
|
|||
}
|
||||
o += n;
|
||||
}
|
||||
if (o) printf("%08x\n", o, A, B);
|
||||
if (o) printf("%08x\n", o);
|
||||
return !feof(f);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue