Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion libs/libc/tls/tls_cleanup.c
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ void tls_cleanup_pop(FAR struct tls_info_s *tls, int execute)
/* Get the index to the last cleaner function pushed onto the stack */

ndx = tls->tl_tos - 1;
DEBUGASSERT(ndx >= 0 && ndx < CONFIG_TLS_NCLEANUP);
DEBUGASSERT(ndx < CONFIG_TLS_NCLEANUP);

/* Should we execute the cleanup routine at the top of the stack? */

Expand Down