]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
doh: (void)-prefix call to curl_easy_setopt
authorDaniel Stenberg <daniel@haxx.se>
Wed, 30 Jun 2021 22:06:27 +0000 (00:06 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 30 Jun 2021 22:06:27 +0000 (00:06 +0200)
lib/doh.c

index cf3848d963244f8032301112eeb383d3c4f9efb3..04a5b3d92e7348d36f8f4431071e0290e2373c55 100644 (file)
--- 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;