address comments

This commit is contained in:
Georgii Rylov
2025-03-03 13:36:05 +00:00
parent 0b5084cb63
commit bc00b3e492
2 changed files with 5 additions and 1 deletions

View File

@ -1773,6 +1773,10 @@ wasm_copy_callstack(const wasm_exec_env_t exec_env, wasm_frame_t *buffer,
}
#endif
#endif
char *err_msg =
"No copy_callstack API was actually executed";
strncpy(error_buf, err_msg, error_buf_size);
return 0;
}
#endif // WAMR_ENABLE_COPY_CALLSTACK