Snippets for openscap 1.4.5 from Fedora aarch64
Sourced from https://kojipkgs.fedoraproject.org/packages/openscap/1.4.5/2.fc46/data/logs/aarch64/build.log.
-
/builddir/build/BUILD/openscap-1.4.5-build/openscap-1.4.5/tests/bz2/test_bz2_memory_source.c:47:9: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 47 | fread(*buffer, len, 1, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/builddir/build/BUILD/openscap-1.4.5-build/openscap-1.4.5/src/OVAL/probes/SEAP/sexp-ID.c:59:23: warning: ‘resbuf’ may be used uninitialized [-Wmaybe-uninitialized] 59 | return (resbuf[part]); | ^ -
/usr/include/bits/stdio2.h:68:10: warning: ‘platform’ may be used uninitialized [-Wmaybe-uninitialized] 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^ -
/builddir/build/BUILD/openscap-1.4.5-build/openscap-1.4.5/src/OVAL/oval_generator.c:204:36: warning: ‘version’ may be used uninitialized [-Wmaybe-uninitialized] 204 | xmlNode *sv_node = xmlNewTextChild(gen_node, ns_common, | ^ -
/builddir/build/BUILD/openscap-1.4.5-build/openscap-1.4.5/src/common/oscap_acquire.c:345:15: warning: call to ‘Wcurl_easy_setopt_err_long’ declared with attribute warning: curl_easy_setopt expects a long argument [-Wattribute-warning] 345 | res = curl_easy_setopt(curl, CURLOPT_FAILONERROR, true); | ^ -
/builddir/build/BUILD/openscap-1.4.5-build/openscap-1.4.5/src/common/oscap_acquire.c:373:15: warning: call to ‘Wcurl_easy_setopt_err_long’ declared with attribute warning: curl_easy_setopt expects a long argument [-Wattribute-warning] 373 | res = curl_easy_setopt(curl, CURLOPT_TRANSFER_ENCODING, true); | ^ -
/builddir/build/BUILD/openscap-1.4.5-build/openscap-1.4.5/src/common/oscap_acquire.c:380:15: warning: call to ‘Wcurl_easy_setopt_err_long’ declared with attribute warning: curl_easy_setopt expects a long argument [-Wattribute-warning] 380 | res = curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, true); | ^ -
/builddir/build/BUILD/openscap-1.4.5-build/openscap-1.4.5/src/common/oscap_acquire.c:387:15: warning: call to ‘Wcurl_easy_setopt_err_long’ declared with attribute warning: curl_easy_setopt expects a long argument [-Wattribute-warning] 387 | res = curl_easy_setopt(curl, CURLOPT_VERBOSE, true); | ^