Snippets for librepo 1.21.1 from FreeBSD 150amd64
Sourced from https://pkg-status.freebsd.org/beefy23/data/latest-per-pkg/librepo/1.21.1/150amd64-default.log.
-
/wrkdirs/usr/ports/misc/librepo/work/librepo-1.21.1/librepo/downloader.c:1704:15: warning: unused variable 'cm_rc' [-Wunused-variable] 1704 | CURLMcode cm_rc = curl_multi_add_handle(dd->multi_handle, h); | ^~~~~ -
/wrkdirs/usr/ports/misc/librepo/work/librepo-1.21.1/librepo/downloader.c:1665:16: warning: call to 'Wcurl_easy_setopt_err_long' declared with 'warning' attribute: curl_easy_setopt expects a long argument [-Wattribute-warning] 1665 | curl_easy_setopt(h, CURLOPT_NOPROGRESS, 0) || | ^ -
/wrkdirs/usr/ports/misc/librepo/work/librepo-1.21.1/librepo/fastestmirror.c:360:20: warning: call to 'Wcurl_easy_setopt_err_long' declared with 'warning' attribute: curl_easy_setopt expects a long argument [-Wattribute-warning] 360 | curlcode = curl_easy_setopt(curlh, CURLOPT_CONNECT_ONLY, 1); | ^ -
/wrkdirs/usr/ports/misc/librepo/work/librepo-1.21.1/librepo/handle.c:744:59: warning: call to undeclared function 'strncasecmp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 744 | if (c_rc == CURLE_OK && handle->sslclientcert && !strncasecmp(handle->sslclientcert, "pkcs11:", 7)) { | ^ -
/wrkdirs/usr/ports/misc/librepo/work/librepo-1.21.1/librepo/handle.c:72:9: warning: call to 'Wcurl_easy_setopt_err_long' declared with 'warning' attribute: curl_easy_setopt expects a long argument [-Wattribute-warning] 72 | if (curl_easy_setopt(h, CURLOPT_FOLLOWLOCATION, 1) != CURLE_OK) | ^ -
/wrkdirs/usr/ports/misc/librepo/work/librepo-1.21.1/librepo/handle.c:74:9: warning: call to 'Wcurl_easy_setopt_err_long' declared with 'warning' attribute: curl_easy_setopt expects a long argument [-Wattribute-warning] 74 | if (curl_easy_setopt(h, CURLOPT_MAXREDIRS, 6) != CURLE_OK) | ^ -
/wrkdirs/usr/ports/misc/librepo/work/librepo-1.21.1/librepo/handle.c:82:9: warning: call to 'Wcurl_easy_setopt_err_long' declared with 'warning' attribute: curl_easy_setopt expects a long argument [-Wattribute-warning] 82 | if (curl_easy_setopt(h, CURLOPT_SSL_VERIFYHOST, 2) != CURLE_OK) | ^ -
/wrkdirs/usr/ports/misc/librepo/work/librepo-1.21.1/librepo/handle.c:84:9: warning: call to 'Wcurl_easy_setopt_err_long' declared with 'warning' attribute: curl_easy_setopt expects a long argument [-Wattribute-warning] 84 | if (curl_easy_setopt(h, CURLOPT_SSL_VERIFYPEER, 1) != CURLE_OK) | ^ -
/wrkdirs/usr/ports/misc/librepo/work/librepo-1.21.1/librepo/handle.c:86:9: warning: call to 'Wcurl_easy_setopt_err_long' declared with 'warning' attribute: curl_easy_setopt expects a long argument [-Wattribute-warning] 86 | if (curl_easy_setopt(h, CURLOPT_SSL_VERIFYSTATUS, 0) != CURLE_OK) | ^ -
/wrkdirs/usr/ports/misc/librepo/work/librepo-1.21.1/librepo/handle.c:90:9: warning: call to 'Wcurl_easy_setopt_err_long' declared with 'warning' attribute: curl_easy_setopt expects a long argument [-Wattribute-warning] 90 | if (curl_easy_setopt(h, CURLOPT_FILETIME, 0) != CURLE_OK) | ^ -
/wrkdirs/usr/ports/misc/librepo/work/librepo-1.21.1/librepo/xmlparser.c:155:11: warning: 'linenumbers' is deprecated [-Wdeprecated-declarations] 155 | ctxt->linenumbers = 1; | ^ -
/wrkdirs/usr/ports/misc/librepo/work/librepo-1.21.1/librepo/yum.c:717:11: warning: variable 'destdir' set but not used [-Wunused-but-set-variable] 717 | char *destdir; /* Destination dir */ | ^