Snippets for openldap 2.6.14 from Alpine aarch64
Sourced from https://build.alpinelinux.org/buildlogs/build-edge-aarch64/main/openldap/openldap-2.6.14-r0.log.
-
memory.c:522:1: warning: function may return address of local variable [-Wreturn-local-addr] 522 | } | ^ -
extended.c:245:27: warning: passing argument 1 of 'strcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 245 | strcpy( rs->sr_text, text ); | ~~^~~~~~~~~ -
extended.c:372:27: warning: passing argument 1 of 'strcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 372 | strcpy( rs->sr_text, text ); | ~~^~~~~~~~~ -
add.c:332:50: warning: too many arguments for format [-Wformat-extra-args] 332 | Debug( LDAP_DEBUG_TRACE, " backsql_modify_internal(): " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
meta_result.c:254:39: warning: '%s' directive argument is null [-Wformat-overflow=] 254 | "%s meta_send_entry(\"%s\"): " "slap_bv2undef_ad(%s): %s\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
slapd-mtread.c:268:61: warning: '%s' directive argument is null [-Wformat-overflow=] 268 | snprintf(outstr, BUFSIZ, "MT Test Start: conns: %d (%s)", noconns, uri); | ^~ -
mqtt.c:48:32: warning: missing braces around initializer [-Wmissing-braces] 48 | static ConfigTable mqttcfg[] = { | ^ -
mqtt.c:48:32: warning: missing braces around initializer [-Wmissing-braces]
-
mqtt.c:188:47: warning: too many arguments for format [-Wformat-extra-args] 188 | Debug(LDAP_DEBUG_ANY, "mqtt_db_open: unable to find objectClass=\"%s\"\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mqtt.c:203:47: warning: too many arguments for format [-Wformat-extra-args] 203 | Debug(LDAP_DEBUG_ANY, "mqtt_db_config_notify: DN normalization failed for \"%s\": %d\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mqtt.c:226:33: warning: too many arguments for format [-Wformat-extra-args] 226 | Debug(LDAP_DEBUG_TRACE, "mqtt_send_notify: pub on topic '%s'\n", n->topic, 0, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mqtt.c:236:33: warning: too many arguments for format [-Wformat-extra-args] 236 | Debug(LDAP_DEBUG_TRACE, "mqtt_on_connect: connected with status %d\n", rc, 0, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mqtt.c:249:33: warning: too many arguments for format [-Wformat-extra-args] 249 | Debug(LDAP_DEBUG_TRACE, "mqtt_db_init: initialize overlay\n", 0, 0, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mqtt.c:260:33: warning: too many arguments for format [-Wformat-extra-args] 260 | Debug(LDAP_DEBUG_TRACE, "mqtt_db_destroy: destroy overlay\n", 0, 0, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mqtt.c:278:33: warning: too many arguments for format [-Wformat-extra-args] 278 | Debug(LDAP_DEBUG_TRACE, "mqtt_db_open, id='%s'\n", id, 0, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~ -
mqtt.c:297:33: warning: too many arguments for format [-Wformat-extra-args] 297 | Debug(LDAP_DEBUG_TRACE, "mqtt_db_close\n", 0, 0, 0); | ^~~~~~~~~~~~~~~~~