mirror of
https://github.com/gluster/glusterfs.git
synced 2026-02-05 15:48:40 +01:00
cli - fixing a coverity issue
Removed unused variable. fixes: CID#1412106 updates: bz#789278 Change-Id: I1d4e1c1625cecf882d51e9cf4f5290383f63d405 Signed-off-by: Barak Sason Rofman <bsasonro@redhat.com>
This commit is contained in:
committed by
MOHIT AGRAWAL
parent
50ca15e14e
commit
10b0d19513
@@ -6153,7 +6153,7 @@ cli_print_volume_status_mempool(dict_t *dict, char *prefix)
|
||||
if (ret)
|
||||
goto out;
|
||||
|
||||
keylen = snprintf(key, sizeof(key), "%s.pool%d.pool-misses", prefix, i);
|
||||
snprintf(key, sizeof(key), "%s.pool%d.pool-misses", prefix, i);
|
||||
ret = dict_get_uint64(dict, key, &pool_misses);
|
||||
if (ret)
|
||||
goto out;
|
||||
|
||||
Reference in New Issue
Block a user