diff options
author | Luca BRUNO <luca.bruno@coreos.com> | 2021-11-25 15:04:09 +0000 |
---|---|---|
committer | Luca BRUNO <luca.bruno@coreos.com> | 2021-11-26 15:11:00 +0000 |
commit | cefc1d78544f90ffa0d665f823ef8263aec64fe9 (patch) | |
tree | abaa8272efd03a30f9735945732d052c7394a24a /src/libostree/ostree-fetcher-curl.c | |
parent | 2dc6ec70ec02afe2ffc5af511f40fa71d667dadd (diff) | |
download | ostree-cefc1d78544f90ffa0d665f823ef8263aec64fe9.tar.gz |
lib: misc static analysis fixes
This fixes a few warnings from coverity, none of which really
interesting.
Diffstat (limited to 'src/libostree/ostree-fetcher-curl.c')
-rw-r--r-- | src/libostree/ostree-fetcher-curl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libostree/ostree-fetcher-curl.c b/src/libostree/ostree-fetcher-curl.c index d6534b46..96f137df 100644 --- a/src/libostree/ostree-fetcher-curl.c +++ b/src/libostree/ostree-fetcher-curl.c @@ -770,8 +770,8 @@ initiate_next_curl_request (FetcherRequest *req, curl_easy_setopt (req->easy, CURLOPT_URL, uri); } - curl_easy_setopt (req->easy, CURLOPT_USERAGENT, - self->custom_user_agent ?: OSTREE_FETCHER_USERAGENT_STRING); + (void) curl_easy_setopt (req->easy, CURLOPT_USERAGENT, + self->custom_user_agent ?: OSTREE_FETCHER_USERAGENT_STRING); /* Set caching request headers */ if (req->if_none_match != NULL) |