Remove dead assignments flagged by Clang static analysis
This commit is contained in:
committed by
Tatsuya Kinoshita
parent
2d9d2494fc
commit
7e5b33c30e
2
anchor.c
2
anchor.c
@@ -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++) {
|
||||
|
Reference in New Issue
Block a user