commit - 1cae65b4629cd43c265d27e7aa98d478878b1ea5
commit + 8fbe07c208c126ce38d8d97079ef34df4a41cbc6
blob - 42c18ecd429cf1fc20cff34316277c80964ca385
blob + 9f0da90a467ec828ff8f59f96b9d6559812554dc
--- lib/diffreg.c
+++ lib/diffreg.c
fetch(FILE *outfile, struct got_diff_state *ds, struct got_diff_args *args,
long *f, int a, int b, FILE *lb, int ch, int flags)
{
- int i, j, c, lastc, col, nc;
+ int i, j, c, col, nc;
if (a > b)
return (0);
diff_output(outfile, " ");
}
col = 0;
- for (j = 0, lastc = '\0'; j < nc; j++, lastc = c) {
+ for (j = 0; j < nc; j++) {
if ((c = getc(lb)) == EOF) {
diff_output(outfile, "\n\\ No newline at end of "
"file\n");