mirror of
https://github.com/mirror/wget.git
synced 2025-03-13 11:20:19 +08:00
[svn] No need to initialize NEWEL->next to NULL, it's already NULL.
This commit is contained in:
parent
99625a869b
commit
c929628ba8
@ -329,7 +329,6 @@ append_url (const char *link_uri,
|
|||||||
DEBUGP (("appending \"%s\" to urlpos.\n", url->url));
|
DEBUGP (("appending \"%s\" to urlpos.\n", url->url));
|
||||||
|
|
||||||
newel = xnew0 (struct urlpos);
|
newel = xnew0 (struct urlpos);
|
||||||
newel->next = NULL;
|
|
||||||
newel->url = url;
|
newel->url = url;
|
||||||
newel->pos = tag->attrs[attrind].value_raw_beginning - ctx->text;
|
newel->pos = tag->attrs[attrind].value_raw_beginning - ctx->text;
|
||||||
newel->size = tag->attrs[attrind].value_raw_size;
|
newel->size = tag->attrs[attrind].value_raw_size;
|
||||||
|
Loading…
Reference in New Issue
Block a user