4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-19 19:43:30 +08:00
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
..
2024-09-23 21:30:37 +08:00
2024-09-01 15:12:34 -04:00
2024-09-23 21:30:37 +08:00
2024-09-01 15:12:34 -04:00