Snippets for librepo 1.20.0 from Nix x86_64-linux
Sourced from https://hydra.nixos.org/log/qlj4dsnrp0ah8ajnmpj9anz7navsyv0z-librepo-1.20.0.drv.
-
/build/source/librepo/downloader.c:1634:9: warning: 'CURLOPT_PROGRESSFUNCTION' is deprecated: since 7.32.0. Use CURLOPT_XFERINFOFUNCTION [-Wdeprecated-declarations] 1634 | c_rc = curl_easy_setopt(h, CURLOPT_PROGRESSFUNCTION, lr_progresscb) || | ^~~~ -
/build/source/librepo/downloader.c:1674:15: warning: unused variable 'cm_rc' [-Wunused-variable] 1674 | CURLMcode cm_rc = curl_multi_add_handle(dd->multi_handle, h); | ^~~~~ -
/build/source/librepo/fastestmirror.c:360:20: warning: call to 'Wcurl_easy_setopt_err_long' declared with attribute warning: curl_easy_setopt expects a long argument [-Wattribute-warning] 360 | curlcode = curl_easy_setopt(curlh, CURLOPT_CONNECT_ONLY, 1); | ^~~~~~~~~~~~~~~~ -
/build/source/librepo/fastestmirror.c:360:20: warning: call to 'Wcurl_easy_setopt_err_long' declared with attribute warning: curl_easy_setopt expects a long argument [-Wattribute-warning]
-
/build/source/librepo/xmlparser.c:155:5: warning: 'linenumbers' is deprecated [-Wdeprecated-declarations] 155 | ctxt->linenumbers = 1; | ^~~~ -
/build/source/librepo/yum.c:743:11: warning: variable 'destdir' set but not used [-Wunused-but-set-variable] 743 | char *destdir; /* Destination dir */ | ^~~~~~~ -
/build/source/librepo/python/globalstate-py.h:84:1: warning: 'gil_logger_hack_end' defined but not used [-Wunused-function] 84 | gil_logger_hack_end(int hack_begin_rc) | ^~~~~~~~~~~~~~~~~~~ -
/build/source/librepo/python/globalstate-py.h:60:1: warning: 'gil_logger_hack_begin' defined but not used [-Wunused-function] 60 | gil_logger_hack_begin(PyThreadState **state) | ^~~~~~~~~~~~~~~~~~~~~ -
/build/source/examples/c/download_repos_parallel.c:74:5: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 74 | system("rm -rf " DESTDIR); | ^~~~~~~~~~~~~~~~~~~~~~~~~