Skip to content

Commit 90d36f1

Browse files
tectonic/dpx-pdfobj: remove useless assignation
k is reassigned on the next iteration of the loop. Hence, the k++ is useless. Reported by @Mrmaxmeier
1 parent 55bd3dd commit 90d36f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tectonic/dpx-pdfobj.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1694,7 +1694,7 @@ apply_filter_TIFF2_1_2_4 (unsigned char *raster,
16941694
}
16951695
}
16961696
if (outbits > 0) {
1697-
raster[k] = (outbuf << (8 - outbits)); k++;
1697+
raster[k] = (outbuf << (8 - outbits));
16981698
}
16991699
}
17001700
free(prev);

0 commit comments

Comments
 (0)