mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-10-13 00:40:11 +00:00
Eliminate some warnings
This commit is contained in:
parent
7d9ca9f29b
commit
cf6895dac0
1 changed files with 4 additions and 0 deletions
|
|
@ -329,6 +329,8 @@ int nsh_consolemain(int argc, char *argv[])
|
|||
#else
|
||||
ret = usbdev_serialinitialize(CONFIG_NSH_USBDEV_MINOR);
|
||||
#endif
|
||||
|
||||
(void)ret; /* Eliminate warning if not used */
|
||||
DEBUGASSERT(ret == OK);
|
||||
#endif
|
||||
|
||||
|
|
@ -353,6 +355,8 @@ int nsh_consolemain(int argc, char *argv[])
|
|||
*/
|
||||
|
||||
ret = nsh_waitusbready();
|
||||
|
||||
(void)ret; /* Eliminate warning if not used */
|
||||
DEBUGASSERT(ret == OK);
|
||||
|
||||
/* Execute the session */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue