summaryrefslogtreecommitdiffstats
path: root/tests/bugs/glusterd/serialize-shd-manager-glusterd-restart.t
diff options
context:
space:
mode:
authoryatipadia <ypadia@redhat.com>2019-10-04 18:21:42 +0530
committerSunny Kumar <sunkumar@redhat.com>2019-10-11 09:37:39 +0000
commit1004f959ca3b3697f2759f929ca4c11537f6c488 (patch)
treeed08fc579faa60227a92ee256afd6f1366ff5919 /tests/bugs/glusterd/serialize-shd-manager-glusterd-restart.t
parent332bac01dd15aaad53ba144c80edca551fe58e11 (diff)
POSIX/xlators: Unused and unchecked value coverity issue
This patch addresses CID-1274094 and CID-1382354 Problem(1): "ret" was assigned a value which was never used, it was overwritten by 0 and hence has no use. Problem(2): function was called without checking the return value. Solution(1): Removed the assignment and just called the function whose value was being written in ret. Solution(2): There was no need to check for the return value as at the end 0 is returned, so typecasted the return value as void. Change-Id: Iefd0e9000c466ef2428c754c31370263bf1ca0d0 updates: bz#789278
Diffstat (limited to 'tests/bugs/glusterd/serialize-shd-manager-glusterd-restart.t')
0 files changed, 0 insertions, 0 deletions