frr/mgmtd
Donald Sharp 43508d3c67 mgmtd: Ensure map is NULL
Build is complaining:
build	27-Aug-2024 05:46:38	mgmtd/mgmt_be_adapter.c: In function ‘mgmt_register_client_xpath’:
build	27-Aug-2024 05:46:38	mgmtd/mgmt_be_adapter.c:274:27: warning: ‘maps’ may be used uninitialized [-Wmaybe-uninitialized]
build	27-Aug-2024 05:46:38	  274 |         map = darr_append(*maps);
build	27-Aug-2024 05:46:38	      |                           ^
build	27-Aug-2024 05:46:38	mgmtd/mgmt_be_adapter.c:250:36: note: ‘maps’ was declared here
build	27-Aug-2024 05:46:38	  250 |         struct mgmt_be_xpath_map **maps, *map;
build	27-Aug-2024 05:46:38	      |                                    ^~~~

Let's make the compiler happy, even though there is no problem.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
2024-08-28 10:09:52 -04:00
..
.gitignore mgmtd: Add to .gitignore for mgmtd_testc program 2024-08-10 20:21:27 -04:00
Makefile mgmtd: Bringup MGMTD daemon and datastore module support 2023-03-21 22:08:32 -04:00
mgmt.c *: Fix spelling errors found 2024-08-15 09:19:37 -04:00
mgmt.h *: create a single registry of daemons' default port values 2024-02-01 11:40:02 -05:00
mgmt_be_adapter.c mgmtd: Ensure map is NULL 2024-08-28 10:09:52 -04:00
mgmt_be_adapter.h mgmtd: add backend xpath map for RPC 2024-04-22 16:36:22 +03:00
mgmt_be_nb.c *: add XREF_SETUP() to libraries and utilites 2024-05-02 23:03:08 +02:00
mgmt_ds.c mgmtd: don't add implicit state data when reading config from file 2024-08-08 00:45:13 +03:00
mgmt_ds.h lib, mgmtd: fix commit history location 2024-01-27 19:02:52 +01:00
mgmt_fe_adapter.c mgmtd: fix a couple compilation warnings. 2024-08-18 05:33:29 -05:00
mgmt_fe_adapter.h mgmtd: add native RPC processing 2024-04-22 16:36:22 +03:00
mgmt_history.c lib, mgmtd: fix commit history location 2024-01-27 19:02:52 +01:00
mgmt_history.h mgmtd: assert an assertion for coverity 2023-06-06 15:12:58 -04:00
mgmt_main.c lib: add keychain northbound support 2024-03-04 20:00:15 -05:00
mgmt_memory.c mgmtd: add native RPC processing 2024-04-22 16:36:22 +03:00
mgmt_memory.h mgmtd: add native RPC processing 2024-04-22 16:36:22 +03:00
mgmt_testc.c tests: add topotest for mgmtd rpc processing 2024-04-22 16:36:23 +03:00
mgmt_txn.c *: Fix spelling errors found 2024-08-15 09:19:37 -04:00
mgmt_txn.h mgmtd: add native RPC processing 2024-04-22 16:36:22 +03:00
mgmt_vty.c lib: add native RPC processing to mgmt frontend client 2024-04-22 16:36:23 +03:00
subdir.am *: add XREF_SETUP() to libraries and utilites 2024-05-02 23:03:08 +02:00