diff --git a/src/modules/ucmd/block/dm_mpath/dm_mpath.c b/src/modules/ucmd/block/dm_mpath/dm_mpath.c index ad2c9eac..9d271d93 100644 --- a/src/modules/ucmd/block/dm_mpath/dm_mpath.c +++ b/src/modules/ucmd/block/dm_mpath/dm_mpath.c @@ -76,7 +76,7 @@ static int _is_parent_multipathed(sid_res_t *mod_res, struct sid_ucmd_ctx *ucmd_ const char *valid_str; int mpath_valid = MPATH_IS_ERROR; char *p; - int r; + int r = 0; parent = sid_ucmd_dev_stack_va_get(mod_res, ucmd_ctx, .method = SID_DEV_SEARCH_IMM_ANC, .ret_code = &r); if (r < 0 || !parent)