Eliminate some warnings
This commit is contained in:
parent
7d9ca9f29b
commit
cf6895dac0
@ -329,6 +329,8 @@ int nsh_consolemain(int argc, char *argv[])
|
|||||||
#else
|
#else
|
||||||
ret = usbdev_serialinitialize(CONFIG_NSH_USBDEV_MINOR);
|
ret = usbdev_serialinitialize(CONFIG_NSH_USBDEV_MINOR);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
(void)ret; /* Eliminate warning if not used */
|
||||||
DEBUGASSERT(ret == OK);
|
DEBUGASSERT(ret == OK);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -353,6 +355,8 @@ int nsh_consolemain(int argc, char *argv[])
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
ret = nsh_waitusbready();
|
ret = nsh_waitusbready();
|
||||||
|
|
||||||
|
(void)ret; /* Eliminate warning if not used */
|
||||||
DEBUGASSERT(ret == OK);
|
DEBUGASSERT(ret == OK);
|
||||||
|
|
||||||
/* Execute the session */
|
/* Execute the session */
|
||||||
|
Loading…
Reference in New Issue
Block a user