TJBench: Remove innocuous always-true condition

This was accidentally introduced into tjbench.c in
890f1e0413 and ported into the Java
version from there.

Based on
4be6d4e7bd

Refer to #571
This commit is contained in:
DRC
2022-01-29 12:33:40 -06:00
parent da41ab94e7
commit 14ce28a92d
2 changed files with 2 additions and 2 deletions

View File

@@ -649,7 +649,7 @@ final class TJBench {
sigFig((double)(w * h * ps) /
(double)totalJpegSize, 4),
quiet == 2 ? "\n" : " ");
} else if (quiet == 0) {
} else {
System.out.format("Transform --> Frame rate: %f fps\n",
1.0 / elapsed);
System.out.format(" Output image size: %d bytes\n",

View File

@@ -685,7 +685,7 @@ static int decompTest(char *fileName)
sigfig((double)(w * h * ps) / (double)totalJpegSize, 4,
tempStr2, 80),
quiet == 2 ? "\n" : " ");
} else if (!quiet) {
} else {
printf("Transform --> Frame rate: %f fps\n",
1.0 / elapsed);
printf(" Output image size: %lu bytes\n",