dukky: Remove unused dukky_safe_get()

Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
This commit is contained in:
Daniel Silverstone 2019-08-02 15:08:46 +01:00
parent 1f24336d6c
commit 1150cf684d

View File

@ -750,12 +750,6 @@ duk_bool_t dukky_check_timeout(void *udata)
now > (ctx->exec_start_time + JS_EXEC_TIMEOUT_MS);
}
static duk_ret_t dukky_safe_get(duk_context *ctx, void *udata)
{
duk_get_prop_string(ctx, 0, udata);
return 1;
}
static void dukky_dump_error(duk_context *ctx)
{
/* stack is ..., errobj */