Skip to content
Commit 8cdbd1cd authored by Andy Ross's avatar Andy Ross Committed by Anas Nashif
Browse files

tests/kernel/common: Fix dead code in sflist test



An inverted comparison typo led to the final loop in the sflist being
skipped.  Fix so that it actually runs.

(Odd that it took a static analysis tool to detect this, the loop
expressions are all constants, I'm surprised gcc didn't see it while
doing unrolling analysis).

Fixes #18437

Signed-off-by: default avatarAndy Ross <andrew.j.ross@intel.com>
parent ca822307
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment