mirror of
https://github.com/mirror/wget.git
synced 2024-12-28 22:00:27 +08:00
* src/convert.c (convert_links): Fix code to avoid false positive by clang
This commit is contained in:
parent
02afe1e41c
commit
88a49c1e41
@ -303,7 +303,7 @@ convert_links (const char *file, struct urlpos *links)
|
||||
{
|
||||
case CO_CONVERT_TO_RELATIVE:
|
||||
/* Convert absolute URL to relative. */
|
||||
{
|
||||
if (link->local_name) {
|
||||
char *newname = construct_relative (file, link->local_name);
|
||||
char *quoted_newname = local_quote_string (newname,
|
||||
link->link_css_p);
|
||||
|
Loading…
Reference in New Issue
Block a user