Correct an assertion

This commit is contained in:
Neil Hancock 2016-09-12 07:26:37 -06:00 committed by Gregory Nutt
parent e832e73b99
commit 7fc401d3c1

View File

@ -78,7 +78,7 @@ int nsh_system(int argc, char *argv[])
FAR struct console_stdio_s *pstate = nsh_newconsole();
FAR struct nsh_vtbl_s *vtbl;
DEBUGASSERT(pstate != NULL && pstate->cn_vtbl != NULL);
DEBUGASSERT(pstate != NULL);
vtbl = &pstate->cn_vtbl;
/* Parse process the command */