nsh: fix coverity 249201 02/37002/3
authorAndrew Yourtchenko <ayourtch@gmail.com>
Tue, 23 Aug 2022 16:54:53 +0000 (16:54 +0000)
committerAndrew Yourtchenko <ayourtch@gmail.com>
Fri, 26 Aug 2022 13:11:14 +0000 (13:11 +0000)
commitc8d1c8cfb80f1cf0d6dc128e9beea3fcb5c3d741
tree6fc83aaf39edc7a3ea4970f54b1df9f5577ac8ba
parent000a4ebed7d4097b88869a336a311f49873f8cf7
nsh: fix coverity 249201

Zero-initialize the temporary struct, else a->map.adj_index is being used unset.

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