From 71f0a06356f7c60ea4c7c72375161c5163e4ce5d Mon Sep 17 00:00:00 2001 From: s-hadinger <49731213+s-hadinger@users.noreply.github.com> Date: Thu, 29 Aug 2024 21:32:28 +0200 Subject: [PATCH] Upstream Berry fix removing assert (#22054) --- lib/libesp32/berry/src/be_module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libesp32/berry/src/be_module.c b/lib/libesp32/berry/src/be_module.c index 3691ed324..f02b9dedb 100644 --- a/lib/libesp32/berry/src/be_module.c +++ b/lib/libesp32/berry/src/be_module.c @@ -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) { - assert(src); + be_assert(src); bmap *attrs = module->table; if (!gc_isconst(attrs)) { bvalue *v = be_map_findstr(vm, attrs, attr);