mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-21 02:08:16 +00:00
Prevent another Coverity warning
This commit is contained in:
parent
dc4464471e
commit
457b54149d
@ -71,7 +71,7 @@ int string_parse_html_anchor(const char *line, char *link, char *name,
|
||||
if (!*name)
|
||||
{
|
||||
const char *start = strstr(line, "\">");
|
||||
const char *end = strstr(start, "</a>");
|
||||
const char *end = start ? strstr(start, "</a>") : NULL;
|
||||
|
||||
if (!start || !end)
|
||||
return 1;
|
||||
|
Loading…
Reference in New Issue
Block a user