Snippets for librepo 1.22.1 from Fedora x86_64
Sourced from https://kojipkgs.fedoraproject.org/packages/librepo/1.22.1/1.fc46/data/logs/x86_64/build.log.
-
/builddir/build/BUILD/librepo-1.22.1-build/librepo-1.22.1/librepo/fastestmirror.c:359:20: warning: call to ‘Wcurl_easy_setopt_err_long’ declared with attribute warning: curl_easy_setopt expects a long argument [-Wattribute-warning] 359 | curlcode = curl_easy_setopt(curlh, CURLOPT_CONNECT_ONLY, 1); | ^~~~~~~~~~~~~~~~ -
/builddir/build/BUILD/librepo-1.22.1-build/librepo-1.22.1/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); | ^~~~~~~~~~~~~~~~~~~~~~~~~ -
/usr/include/glib-2.0/glib/gmacros.h:1397:10: warning: ‘loop’ may be used uninitialized [-Wmaybe-uninitialized] 1397 | { if (_ptr) (cleanup) ((ParentName *) _ptr); } \ | ^ -
/builddir/build/BUILD/librepo-1.22.1-build/librepo-1.22.1/librepo/handle.c:72:9: warning: call to ‘Wcurl_easy_setopt_err_long’ declared with attribute warning: curl_easy_setopt expects a long argument [-Wattribute-warning] 72 | if (curl_easy_setopt(h, CURLOPT_FOLLOWLOCATION, 1) != CURLE_OK) | ^ -
/builddir/build/BUILD/librepo-1.22.1-build/librepo-1.22.1/librepo/handle.c:74:9: warning: call to ‘Wcurl_easy_setopt_err_long’ declared with attribute warning: curl_easy_setopt expects a long argument [-Wattribute-warning] 74 | if (curl_easy_setopt(h, CURLOPT_MAXREDIRS, 6) != CURLE_OK) | ^ -
/builddir/build/BUILD/librepo-1.22.1-build/librepo-1.22.1/librepo/handle.c:82:9: warning: call to ‘Wcurl_easy_setopt_err_long’ declared with attribute warning: curl_easy_setopt expects a long argument [-Wattribute-warning] 82 | if (curl_easy_setopt(h, CURLOPT_SSL_VERIFYHOST, 2) != CURLE_OK) | ^ -
/builddir/build/BUILD/librepo-1.22.1-build/librepo-1.22.1/librepo/handle.c:84:9: warning: call to ‘Wcurl_easy_setopt_err_long’ declared with attribute warning: curl_easy_setopt expects a long argument [-Wattribute-warning] 84 | if (curl_easy_setopt(h, CURLOPT_SSL_VERIFYPEER, 1) != CURLE_OK) | ^ -
/builddir/build/BUILD/librepo-1.22.1-build/librepo-1.22.1/librepo/handle.c:86:9: warning: call to ‘Wcurl_easy_setopt_err_long’ declared with attribute warning: curl_easy_setopt expects a long argument [-Wattribute-warning] 86 | if (curl_easy_setopt(h, CURLOPT_SSL_VERIFYSTATUS, 0) != CURLE_OK) | ^ -
/builddir/build/BUILD/librepo-1.22.1-build/librepo-1.22.1/librepo/handle.c:90:9: warning: call to ‘Wcurl_easy_setopt_err_long’ declared with attribute warning: curl_easy_setopt expects a long argument [-Wattribute-warning] 90 | if (curl_easy_setopt(h, CURLOPT_FILETIME, 0) != CURLE_OK) | ^ -
/builddir/build/BUILD/librepo-1.22.1-build/librepo-1.22.1/librepo/downloader.c:1801:16: warning: call to ‘Wcurl_easy_setopt_err_long’ declared with attribute warning: curl_easy_setopt expects a long argument [-Wattribute-warning] 1801 | curl_easy_setopt(h, CURLOPT_NOPROGRESS, 0) || | ^ -
/builddir/build/BUILD/librepo-1.22.1-build/librepo-1.22.1/librepo/fastestmirror.c:359:20: warning: call to ‘Wcurl_easy_setopt_err_long’ declared with attribute warning: curl_easy_setopt expects a long argument [-Wattribute-warning] 359 | curlcode = curl_easy_setopt(curlh, CURLOPT_CONNECT_ONLY, 1); | ^