Upstream Berry fix removing assert (#22054)

This commit is contained in:
s-hadinger 2024-08-29 21:32:28 +02:00 committed by GitHub
parent 2292006fe3
commit 71f0a06356
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -355,7 +355,7 @@ int be_module_attr(bvm *vm, bmodule *module, bstring *attr, bvalue *dst)
bbool be_module_setmember(bvm *vm, bmodule *module, bstring *attr, bvalue *src) bbool be_module_setmember(bvm *vm, bmodule *module, bstring *attr, bvalue *src)
{ {
assert(src); be_assert(src);
bmap *attrs = module->table; bmap *attrs = module->table;
if (!gc_isconst(attrs)) { if (!gc_isconst(attrs)) {
bvalue *v = be_map_findstr(vm, attrs, attr); bvalue *v = be_map_findstr(vm, attrs, attr);