tests: threads: fix uninitialized scalar variable
In the file variable val is not initialized,
causing the variable stack_ptr, pos, points to uninitialized data.
Initialize the variable val according to the code and commits.
Fixes #37916
Signed-off-by:
Naiyuan Tian <naiyuan.tian@intel.com>
Loading
Please sign in to comment