Snippets for bird 3.4.0 from Nix aarch64-linux
Sourced from https://hydra.nixos.org/log/v8ckwvs9kqxk0jyazvl9vdqpzkha3r18-bird-3.4.0.drv.
-
./lib/string.h:50:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 50 | char *s = strrchr(str, '/'); | ^~~~~~~ -
lib/ip.c:365:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 365 | char *d, *c = strchr(a, '.'); | ^~~~~~ -
lib/mslab.c:1178:8: warning: variable 'pti' set but not used [-Wunused-but-set-variable=] 1178 | uint pti = 0; | ^~~ -
nest/rt-table.c:2234:8: warning: variable 'cleared_counter' set but not used [-Wunused-but-set-variable=] 2234 | uint cleared_counter = 0; | ^~~~~~~~~~~~~~~ -
nest/rt-table.c:4832:8: warning: variable 'total' set but not used [-Wunused-but-set-variable=] 4832 | uint total = 0; | ^~~~~ -
proto/bgp/bgp.c:3503:55: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 3503 | if ((cf->send_hold_time > 0) && (cf->send_hold_time < cf->hold_time)) | ^ -
proto/bgp/packets.c:2301:97: warning: parameter 'size' set but not used [-Wunused-but-set-parameter=] 2301 | bgp_encode_evpn_ead(struct bgp_write_state *s UNUSED, const net_addr_evpn *net, byte *buf, uint size) | ~~~~~^~~~ -
proto/bridge/bridge.c:944:42: warning: initializer-string for array of 'char' truncates NUL terminator but destination lacks 'nonstring' attribute (5 chars into 4 available) [-Wunterminated-string-initialization] 944 | const char kbr_src_abbrev[KBR_SRC_MAX] = "BLSD"; | ^~~~~~ -
sysdep/unix/alloc.c:247:12: warning: 'fp' is used uninitialized [-Wuninitialized] 247 | if (fp = alloc_hot_page(fp)) | ^~~~~~~~~~~~~~~~~~ -
sysdep/unix/io.c:2266:3: warning: 'ssh_channel_select' is deprecated [-Wdeprecated-declarations] 2266 | if (ssh_channel_select(rchans, NULL, NULL, &timev) == SSH_EINTR) | ^~ -
sysdep/unix/io.c:209:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 209 | write(r->fd, buf, sz); | ^~~~~~~~~~~~~~~~~~~~~