diff options
Diffstat (limited to 'mgmtd/mgmt_ds.c')
-rw-r--r-- | mgmtd/mgmt_ds.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mgmtd/mgmt_ds.c b/mgmtd/mgmt_ds.c index b5eaf7bff..b8cb5b2b1 100644 --- a/mgmtd/mgmt_ds.c +++ b/mgmtd/mgmt_ds.c @@ -542,7 +542,7 @@ int mgmt_ds_iter_data(struct mgmt_ds_ctx *ds_ctx, char *base_xpath, void *ctx), void *ctx, bool alloc_xp_copy) { - int ret; + int ret = 0; char xpath[MGMTD_MAX_XPATH_LEN]; struct lyd_node *base_dnode = NULL; struct lyd_node *node; |