slight cleanup

This commit is contained in:
Gitea 2020-12-13 09:26:49 -06:00
parent 40b8855cda
commit ef74a0076f

View file

@ -72,7 +72,6 @@ unsigned int crc32_table[256] = {
0xB3667A2E, 0xC4614AB8, 0x5D681B02, 0x2A6F2B94, 0xB3667A2E, 0xC4614AB8, 0x5D681B02, 0x2A6F2B94,
0xB40BBE37, 0xC30C8EA1, 0x5A05DF1B, 0x2D02EF8D 0xB40BBE37, 0xC30C8EA1, 0x5A05DF1B, 0x2D02EF8D
}; };
int main(int argc, char ** argv) { int main(int argc, char ** argv) {
int i, error = 0; int i, error = 0;
@ -85,8 +84,7 @@ int main(int argc, char ** argv) {
fprintf(stderr, "Cannot find file %s\n", argv[i]); fprintf(stderr, "Cannot find file %s\n", argv[i]);
} }
else else
printf("%u %d %s\n", crc32(in_file), count_octets(in_file), printf("%u %d %s\n", crc32(in_file), count_octets(in_file), argv[i]);
argv[i]);
} }
if(error) if(error)