session MAINTENANCE redundant assign value
@@ -873,7 +873,7 @@ nc_server_get_cpblts_version(struct ly_ctx *ctx, LYS_VERSION version)
VRB("HELLO module %s", mod->name);
if (!strcmp(mod->name, "ietf-yang-library")) {
/* ietf-yang-library is always part of the list, but it is specific since it is 1.1 schema */
- str_len = sprintf(str, "%s?%s%s&module-set-id=%u", mod->ns, mod->rev_size ? "revision=" : "",
+ sprintf(str, "%s?%s%s&module-set-id=%u", mod->ns, mod->rev_size ? "revision=" : "",
mod->rev_size ? mod->rev[0].date : "", ly_ctx_get_module_set_id(ctx));
add_cpblt(ctx, str, &cpblts, &size, &count);
continue;
