Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

misc(*) minor fixes to address a few warnings #584

Merged
merged 1 commit into from
Aug 13, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/wasm/ngx_wasm_core_host.c
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,9 @@ static ngx_int_t
lua_sleep_error_handler(ngx_wasm_lua_ctx_t *lctx)
{
ngx_log_debug1(NGX_LOG_DEBUG_WASM, lctx->log, 0,
"wasm lua thread cancelled: %d",
lctx->cancelled);
"wasm lua thread cancelled: %d", lctx->cancelled);

return NGX_OK;
}


Expand All @@ -148,7 +149,6 @@ ngx_wasm_hfuncs_test_lua_cancel(ngx_wavm_instance_t *instance,
wasm_val_t args[], wasm_val_t rets[])
{
#if (NGX_WASM_HTTP)
ngx_int_t rc;
ngx_wasm_lua_ctx_t *lctx;
ngx_http_wasm_req_ctx_t *rctx = instance->data;
static const char *SCRIPT_NAME = "cancel_lua_chunk";
Expand Down
Loading