summaryrefslogtreecommitdiff
path: root/src/components.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/components.c')
-rw-r--r--src/components.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components.c b/src/components.c
index 6d9f19742f..a73efa37b1 100644
--- a/src/components.c
+++ b/src/components.c
@@ -215,8 +215,8 @@ void rt_application_init(void)
main_stack, sizeof(main_stack), RT_THREAD_PRIORITY_MAX / 3, 20);
RT_ASSERT(result == RT_EOK);
- /* if not define RT_USING_HEAP, using to eliminate the warning */
- (void)result;
+ /* if not define RT_USING_HEAP, using to eliminate the warning */
+ (void)result;
#endif
rt_thread_startup(tid);