Signed-off-by: NeilBrown <neilb@suse.de>
struct csl *pdiff(struct file a, struct file b, int chunks)
{
- int alo, ahi, blo, bhi;
struct csl *csl1, *csl2;
struct best *best = malloc(sizeof(struct best)*(chunks+1));
int i;
asmall = reduce(a);
bsmall = reduce(b);
- alo = blo = 0;
- ahi = asmall.elcnt;
- bhi = bsmall.elcnt;
-
for (i = 0; i < chunks+1; i++)
best[i].val = 0;
find_best_inorder(&asmall, &bsmall,
if (refresh) {
refresh = 0;
getmaxyx(stdscr, rows, cols);
+ cols = cols; /* Silence warning that 'cols' isn't used */
if (row >= rows + 3)
row = (rows+1)/2;
if (row >= rows)