mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-27 12:46:34 +00:00
Merge pull request #15150 from s-hadinger/berry_sync_2
Berry minor stylistic change
This commit is contained in:
commit
4f54753739
@ -652,10 +652,7 @@ static int ins_member(bvm *vm, int index, const char *k, bbool onlyins)
|
|||||||
bmodule *module = var_toobj(o);
|
bmodule *module = var_toobj(o);
|
||||||
type = be_module_attr(vm, module, be_newstr(vm, k), top);
|
type = be_module_attr(vm, module, be_newstr(vm, k), top);
|
||||||
}
|
}
|
||||||
if (type == BE_NONE) {
|
return type == BE_NONE ? BE_NIL : type;
|
||||||
type = BE_NIL;
|
|
||||||
}
|
|
||||||
return type;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
BERRY_API bbool be_getmember(bvm *vm, int index, const char *k)
|
BERRY_API bbool be_getmember(bvm *vm, int index, const char *k)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user