mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-10-05 05:07:49 +00:00
Unify the void cast usage
1.Remove void cast for function because many place ignore the returned value witout cast 2.Replace void cast for variable with UNUSED macro Change-Id: Ie644129a563244a6397036789c4c3ea83c4e9b09 Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
73e1696e8b
commit
857158451b
263 changed files with 1038 additions and 1047 deletions
|
|
@ -304,7 +304,7 @@ namespace NXWidgets
|
|||
inline void drawFilledCircle(struct nxgl_point_s *center, nxgl_coord_t radius,
|
||||
nxgl_mxpixel_t color)
|
||||
{
|
||||
(void)m_pNxWnd->drawFilledCircle(center, radius, color);
|
||||
m_pNxWnd->drawFilledCircle(center, radius, color);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -908,7 +908,7 @@ namespace Twm4Nx
|
|||
// pollEvents() returns true if any interesting event occurred.
|
||||
// false is not a failure.
|
||||
|
||||
(void)control->pollEvents();
|
||||
control->pollEvents();
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue