Skip to content

Commit

Permalink
misc(*) minor fixes to address a few warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
casimiro authored and thibaultcha committed Aug 13, 2024
1 parent 5743252 commit 3c2800b
Showing 1 changed file with 3 additions and 3 deletions.
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

0 comments on commit 3c2800b

Please sign in to comment.