summaryrefslogtreecommitdiff
path: root/lib/doh.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2021-07-01 00:06:27 +0200
committerDaniel Stenberg <daniel@haxx.se>2021-07-01 00:06:27 +0200
commit6a40e6f8bec5c5945d8eb5324934b4447802f246 (patch)
treecad9066bec3dc5fe536743270d222a31a76a3fce /lib/doh.c
parent78fc6522c2bb0cf45b5daa62af745fbfaa62a412 (diff)
downloadcurl-6a40e6f8bec5c5945d8eb5324934b4447802f246.tar.gz
doh: (void)-prefix call to curl_easy_setopt
Diffstat (limited to 'lib/doh.c')
-rw-r--r--lib/doh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/doh.c b/lib/doh.c
index cf3848d96..04a5b3d92 100644
--- a/lib/doh.c
+++ b/lib/doh.c
@@ -359,7 +359,7 @@ static CURLcode dohprobe(struct Curl_easy *data,
(data->set.ssl.auto_client_cert ?
CURLSSLOPT_AUTO_CLIENT_CERT : 0);
- curl_easy_setopt(doh, CURLOPT_SSL_OPTIONS, mask);
+ (void)curl_easy_setopt(doh, CURLOPT_SSL_OPTIONS, mask);
}
doh->set.fmultidone = doh_done;