Remove dead assignments flagged by Clang static analysis

This commit is contained in:
David Crosby
2015-07-15 08:55:08 -06:00
committed by Tatsuya Kinoshita
parent 2d9d2494fc
commit 7e5b33c30e
9 changed files with 3 additions and 22 deletions

View File

@@ -643,7 +643,6 @@ addMultirowsForm(Buffer *buf, AnchorList *al)
{
int i, j, k, col, ecol, pos;
Anchor a_form, *a;
FormItemList *fi;
Line *l, *ls;
if (al == NULL || al->nanchor == 0)
@@ -670,7 +669,6 @@ addMultirowsForm(Buffer *buf, AnchorList *al)
if (!ls)
continue;
}
fi = (FormItemList *)a_form.url;
col = COLPOS(ls, a_form.start.pos);
ecol = COLPOS(ls, a_form.end.pos);
for (j = 0; l && j < a_form.rows; l = l->next, j++) {