mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-25 21:46:57 +03:00
Curl fetcher: Squash coverity warning.
CID 1419832: Control flow issues (DEADCODE) >>> Execution cannot reach this statement: "goto out;".
This commit is contained in:
parent
bb5d72410b
commit
b8dc537bf8
@ -161,9 +161,8 @@ curl_fetch_ssl_key_eq(void *key1, void *key2)
|
||||
if (port2 == NULL)
|
||||
port2 = lwc_string_ref(corestring_lwc_443);
|
||||
|
||||
if (lwc_string_isequal(hostname1, hostname2, &iseq) != lwc_error_ok)
|
||||
goto out;
|
||||
if (!iseq)
|
||||
if (lwc_string_isequal(hostname1, hostname2, &iseq) != lwc_error_ok ||
|
||||
iseq == false)
|
||||
goto out;
|
||||
|
||||
iseq = false;
|
||||
|
Loading…
Reference in New Issue
Block a user