Skip to content
Commit b27c5d73 authored by Al Semjonovs's avatar Al Semjonovs Committed by Anas Nashif
Browse files

ztest: Fix unused variable compile error in shuffle function



When CONFIG_ZTEST_SHUFFLE is enabled and ASSERTS are disabled
`start_pos` becomes an unused variable leading to a compile error.
Cleaned-up shuffling algorithm to not need a `start_pos` check.

Signed-off-by: default avatarAl Semjonovs <asemjonovs@google.com>
parent 28bf1aaf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment