* src/convert.c (convert_links): Fix code to avoid false positive by clang

This commit is contained in:
Tim Rühsen 2018-09-20 14:58:27 +02:00
parent 02afe1e41c
commit 88a49c1e41

View File

@ -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);