nsh: fix coverity 249169 38/36938/1
authorAndrew Yourtchenko <ayourtch@gmail.com>
Thu, 18 Aug 2022 12:02:53 +0000 (12:02 +0000)
committerAndrew Yourtchenko <ayourtch@gmail.com>
Thu, 18 Aug 2022 12:03:25 +0000 (12:03 +0000)
commitcc488fc766cfbafbe52471a2fa0c8b7aa785ff86
tree2f431454ccdbe74a2a3f84947fcdfe4bfa727602
parent6e4a56e65697999d2f9e2fd539b9e53a0d420266
nsh: fix coverity 249169

Zero-initialize the temporary struct on stack.

Type: fix
Change-Id: I651f87deeb79c6c073d5c510435fa268893a3b0e
Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
src/plugins/nsh/nsh_api.c