1
0
mirror of https://git.sr.ht/~sircmpwn/gmni synced 2024-11-23 04:51:59 +01:00

Remove useless variable cast

This commit is contained in:
Drew DeVault 2021-03-04 13:00:07 -05:00
parent 10aace0d20
commit 06df35d004

@ -88,7 +88,6 @@ xt_end_chain(const br_x509_class **ctx)
} }
enum tofu_error error = TOFU_UNTRUSTED_CERT; enum tofu_error error = TOFU_UNTRUSTED_CERT;
(void)error;
struct known_host *host = cc->store->known_hosts; struct known_host *host = cc->store->known_hosts;
while (host) { while (host) {
if (strcmp(host->host, cc->server_name) != 0) { if (strcmp(host->host, cc->server_name) != 0) {