commit 8ac34c07fc49677851335001051426eeb7fed1b0 from: Neels Hofmeyr date: Sun Oct 11 03:49:05 2020 UTC diff_debug.h: drop unused vars commit - 2146cf12c5afb7faa0de37de5465f09b6b604ce5 commit + 8ac34c07fc49677851335001051426eeb7fed1b0 blob - 8f0b990f829447168ed1abde4d6581325aa22253 blob + bb2d2b2222005a0962cc5edc2a2573fbaa3ab2a8 --- lib/diff_debug.h +++ lib/diff_debug.h @@ -55,7 +55,6 @@ dump_atom(const struct diff_data *left, const struct d atom->patience.unique_here ? "u" : " ", atom->patience.unique_in_both ? "c" : " "); if (atom->at == NULL) { - unsigned long long total = 0; off_t remain = atom->len; if (fseek(atom->d->root->f, atom->pos, SEEK_SET) == -1) abort(); /* cannot return error */ @@ -154,12 +153,7 @@ dump_myers_graph(const struct diff_data *l, const stru } } if (kd_forward && kd_forward_d >= 0) { - int max = l->atoms.len + r->atoms.len; - size_t kd_len = max + 1 + max; - int di; #define xc_to_y(X, C, DELTA) ((X) - (C) + (DELTA)) - int delta = (int)r->atoms.len - - (int)l->atoms.len; int ki; for (ki = kd_forward_d; ki >= -kd_forward_d; @@ -174,9 +168,6 @@ dump_myers_graph(const struct diff_data *l, const stru } } if (kd_backward && kd_backward_d >= 0) { - int max = l->atoms.len + r->atoms.len; - size_t kd_len = max + 1 + max; - int di; int delta = (int)r->atoms.len - (int)l->atoms.len; int ki;