mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-19 12:38:19 +00:00
system/uorb: fix compile warning
apps/system/uorb/listener.c:543:38:
warning: unused parameter 'file' [-Wunused-parameter]
FAR FILE *file)
Signed-off-by: dongjiuzhu1 <dongjiuzhu1@xiaomi.com>
This commit is contained in:
parent
5732c76f39
commit
686bab3160
1 changed files with 2 additions and 0 deletions
|
|
@ -551,6 +551,8 @@ static int listener_record(FAR const struct orb_metadata *meta, int fd,
|
|||
{
|
||||
ret = orb_fprintf(file, meta->o_format, buffer);
|
||||
}
|
||||
#else
|
||||
(void)file;
|
||||
#endif
|
||||
|
||||
return ret;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue