Remove unnecessary ret value control when spec test is enabled (#1839)
wamr-test-suites scripts can handle the return value correctly when spec test is enabled.
This commit is contained in:
@ -796,12 +796,7 @@ fail1:
|
||||
/* Destroy runtime environment */
|
||||
destroy_runtime();
|
||||
|
||||
#if WASM_ENABLE_SPEC_TEST != 0
|
||||
(void)ret;
|
||||
return 0;
|
||||
#else
|
||||
return ret;
|
||||
#endif
|
||||
}
|
||||
|
||||
int
|
||||
|
||||
Reference in New Issue
Block a user