From 36583ba62ed66649e3348751514b8054a8fe5d65 Mon Sep 17 00:00:00 2001 From: Peter Rajnoha Date: Wed, 27 Sep 2023 10:28:30 +0200 Subject: [PATCH] resource: ubridge: quiet compiler warning about possible uninitialized variable (false positive) --- src/resource/ubridge.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/resource/ubridge.c b/src/resource/ubridge.c index fe4bf112..276ca46b 100644 --- a/src/resource/ubridge.c +++ b/src/resource/ubridge.c @@ -3598,7 +3598,7 @@ static int _refresh_device_disk_hierarchy_from_sysfs(sid_resource_t *cmd_res) char devid_buf[UTIL_UUID_STR_SIZE]; kv_vector_t *vvalue; size_t vsize = 0; - int count = 0, i; + int count = 0, i = 0; util_mem_t mem; int r = -1;