rt-thread-official/include
KunYi Chen 6b7f1177de fix: suppress unused warnings when DEBUG disabled
When RT_USING_DEBUG is disabled, variables used only in RT_ASSERT
statements become unused, triggering -Wunused-but-set-variable compiler
warnings. These variables are essential for runtime assertions in debug
builds but appear unused in release builds.

Example:
- Variables used in RT_ASSERT(var != RT_NULL) checks
- Affects multiple drivers and components using RT_ASSERT

This is a general cleanup to improve code compilation without affecting
functionality.
2024-10-25 22:22:09 -04:00
..
klibc [klibc] add kerrno.h 2024-09-23 21:30:37 +08:00
rtatomic.h feat: set RT_USING_STDC_ATOMIC to first priority 2024-08-13 04:13:51 -04:00
rtcompiler.h Fixed an issue in mdk where macro definitions are not supported in the C99 specification 2024-03-20 22:43:55 +08:00
rtdbg.h [debug] 整理debug宏并增加RT_DEBUGING_CONTEXT (#7805) 2023-07-22 10:36:42 +08:00
rtdef.h fix: suppress unused warnings when DEBUG disabled 2024-10-25 22:22:09 -04:00
rthw.h feat: kernel/libcpu: fit into ilp32d 2024-09-01 15:12:34 -04:00
rtklibc.h [klibc] add kerrno.h 2024-09-23 21:30:37 +08:00
rtm.h [rtdef] use lower-case to define attributes (#6728) 2022-12-11 13:12:03 -05:00
rtsched.h feat: remove RT_USING_SCHED_THREAD_CTX 2024-10-19 15:19:41 -04:00
rtservice.h [kernel] fix some strict compiling warnings 2024-02-19 01:56:21 -05:00
rtthread.h fix: suppress unused warnings when DEBUG disabled 2024-10-25 22:22:09 -04:00
rttypes.h feat: kernel/libcpu: fit into ilp32d 2024-09-01 15:12:34 -04:00