[project @ 2003-07-17 15:33:42 by jmb]

remove duplicate assignment to box in box_a

svn path=/import/netsurf/; revision=228
This commit is contained in:
John Mark Bell 2003-07-17 15:33:42 +00:00
parent 33cc86a8bb
commit 5b149ba1d6

View File

@ -558,7 +558,6 @@ struct result box_a(xmlNode *n, struct status *status,
{ {
struct box *box; struct box *box;
char *s; char *s;
box = box_create(style, status->href, status->title);
if ((s = (char *) xmlGetProp(n, (const xmlChar *) "href"))) if ((s = (char *) xmlGetProp(n, (const xmlChar *) "href")))
status->href = s; status->href = s;
box = box_create(style, status->href, status->title); box = box_create(style, status->href, status->title);