From 7fc401d3c1785d485b6f7c5f9465b4eb747198c2 Mon Sep 17 00:00:00 2001 From: Neil Hancock Date: Mon, 12 Sep 2016 07:26:37 -0600 Subject: [PATCH] Correct an assertion --- nshlib/nsh_system.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nshlib/nsh_system.c b/nshlib/nsh_system.c index e882a5535..62385b11a 100644 --- a/nshlib/nsh_system.c +++ b/nshlib/nsh_system.c @@ -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 */