diff options
| author | skawu <[email protected]> | 2018-02-28 22:53:47 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2018-02-28 22:53:47 +0800 |
| commit | 2357842f596de859a54e8246c82c01a78e1a115c (patch) | |
| tree | f42ca101270436fe30efc531800c9f297315cb05 /src | |
| parent | d4d22d34d33ff55b8c11e1d058848ac2eaa6c9ec (diff) | |
没用使用RT_USING_HEAP宏时,增加一条语句用于消除此警告
没用使用RT_USING_HEAP宏时,components.c文件第211行会报警告,增加一条语句用于消除此警告(使用四个空格代替TAB)
Diffstat (limited to 'src')
| -rw-r--r-- | src/components.c | 4 |
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); |
