Snippets for accel-ppp 1.15.0 from Alpine ppc64le
Sourced from https://build.alpinelinux.org/buildlogs/build-edge-ppc64le/community/accel-ppp/accel-ppp-1.15.0-r0.log.
-
/home/buildozer/aports/community/accel-ppp/src/accel-ppp-1.15.0/accel-pppd/extra/net-snmp/sessionTable_data_get.c:116:15: warning: the comparison will always evaluate as 'false' for the address of 'sesSID' will never be NULL [-Waddress] 116 | if ((NULL == tbl_idx->sesSID) || | ^~ -
/home/buildozer/aports/community/accel-ppp/src/accel-ppp-1.15.0/accel-pppd/log.c:80:17: warning: '<unknown>' may be used uninitialized [-Wmaybe-uninitialized] 80 | pthread_setspecific(stat_buf_key, stat_buf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/community/accel-ppp/src/accel-ppp-1.15.0/accel-pppd/cli/show_sessions.c:608:26: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type '__u64' {aka 'long unsigned int'} [-Wformat=] 608 | sprintf(buf, "%llu", stats.rx_bytes); | ~~~^ ~~~~~~~~~~~~~~ | | | | | __u64 {aka long unsigned int} | long long unsigned int | %lu -
/home/buildozer/aports/community/accel-ppp/src/accel-ppp-1.15.0/accel-pppd/cli/show_sessions.c:617:26: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type '__u64' {aka 'long unsigned int'} [-Wformat=] 617 | sprintf(buf, "%llu", stats.tx_bytes); | ~~~^ ~~~~~~~~~~~~~~ | | | | | __u64 {aka long unsigned int} | long long unsigned int | %lu -
/home/buildozer/aports/community/accel-ppp/src/accel-ppp-1.15.0/accel-pppd/cli/show_sessions.c:626:26: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type '__u64' {aka 'long unsigned int'} [-Wformat=] 626 | sprintf(buf, "%llu", stats.rx_packets); | ~~~^ ~~~~~~~~~~~~~~~~ | | | | | __u64 {aka long unsigned int} | long long unsigned int | %lu -
/home/buildozer/aports/community/accel-ppp/src/accel-ppp-1.15.0/accel-pppd/cli/show_sessions.c:635:26: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type '__u64' {aka 'long unsigned int'} [-Wformat=] 635 | sprintf(buf, "%llu", stats.tx_packets); | ~~~^ ~~~~~~~~~~~~~~~~ | | | | | __u64 {aka long unsigned int} | long long unsigned int | %lu -
/home/buildozer/aports/community/accel-ppp/src/accel-ppp-1.15.0/accel-pppd/ctrl/ipoe/dhcpv4.c:1129:17: warning: '_server_id' may be used uninitialized [-Wmaybe-uninitialized] 1129 | memcpy(opt->data, &_server_id, sizeof(_server_id)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~