summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt/glusterd/src/glusterd-quota.c
diff options
context:
space:
mode:
authorBhumika Goyal <bgoyal@redhat.com>2018-08-18 00:06:58 +0530
committerAmar Tumballi <amarts@redhat.com>2018-08-20 12:10:45 +0000
commit788cda4cd36574092bef1449ecda579163d06776 (patch)
treee1a2d6fe8fb4b81a76f7fb9c3eec843dbe17f734 /xlators/mgmt/glusterd/src/glusterd-quota.c
parent21199aaeb272da4b7857351bb2aa51f36c7e22cd (diff)
downloadglusterfs-788cda4cd36574092bef1449ecda579163d06776.tar.gz
glusterfs-788cda4cd36574092bef1449ecda579163d06776.tar.xz
glusterfs-788cda4cd36574092bef1449ecda579163d06776.zip
glusterd: fix some coverity issues
Fixes CID: 1241481 1241482 1274079 1274118 1274121 1274131 1274198 1274214 1274220 1274224 1394663 1394641 382454 1382453 1382449 1288095 Link: https://scan6.coverity.com/reports.htm#v42388/p10714/fileInstanceId=84772667&defectInstanceId=25770661&mergedDefectId=744716 Change-Id: Idaf434186231c8b0fff4b27c57fa23636a89c8a7 updates: bz#789278 Signed-off-by: Bhumika Goyal <bgoyal@redhat.com>
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-quota.c')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-quota.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-quota.c b/xlators/mgmt/glusterd/src/glusterd-quota.c
index 6ca7da8f1d..e1385e6cd9 100644
--- a/xlators/mgmt/glusterd/src/glusterd-quota.c
+++ b/xlators/mgmt/glusterd/src/glusterd-quota.c
@@ -1728,7 +1728,8 @@ glusterd_op_quota (dict_t *dict, char **op_errstr, dict_t *rsp_dict)
if (GLUSTERD_STATUS_STARTED == volinfo->status) {
if (priv->op_version == GD_OP_VERSION_MIN)
- ret = priv->nfs_svc.manager (&(priv->nfs_svc), NULL, 0);
+ (void) priv->nfs_svc.manager (&(priv->nfs_svc),
+ NULL, 0);
}
if (rsp_dict && start_crawl == _gf_true)