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:
Wenyong Huang 2022-12-27 16:34:44 +08:00 committed by GitHub
parent 679a8ab3cb
commit 26728cbef2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 0 additions and 15 deletions

View File

@ -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

View File

@ -696,10 +696,5 @@ fail1:
/* destroy runtime environment */
wasm_runtime_destroy();
#if WASM_ENABLE_SPEC_TEST != 0
(void)ret;
return 0;
#else
return ret;
#endif
}

View File

@ -496,10 +496,5 @@ fail1:
/* destroy runtime environment */
wasm_runtime_destroy();
#if WASM_ENABLE_SPEC_TEST != 0
(void)ret;
return 0;
#else
return ret;
#endif
}