summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGirjesh Rajoria <grajoria@redhat.com>2017-11-03 00:02:15 +0530
committerAtin Mukherjee <amukherj@redhat.com>2017-11-06 14:54:43 +0000
commited5e7b48f9255a57e0a691c102a207eb2445e8b7 (patch)
tree96df1f7a1350ee3517a8d97ad1278156a578ee5a
parent125fc934e7f4c669f67e5eec5b0e3dae3a2b6d72 (diff)
xlators/mgmt/glusterd/: DEADCODE in client_graph_set_rda_options
Coverity ID: 137 Issue: Event dead_error_begin: Execution cannot reach this statement: "set_graph_errstr(graph, "in...". Assigned return value of gf_string2bytesize_uint64 () to ret. Change-Id: Ibef1b1398b233f6442b23282f5ca205c1869a8ee BUG: 789278 Signed-off-by: Girjesh Rajoria <grajoria@redhat.com>
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-volgen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-volgen.c b/xlators/mgmt/glusterd/src/glusterd-volgen.c
index ac74c8a1fbd..7f7f82493e2 100644
--- a/xlators/mgmt/glusterd/src/glusterd-volgen.c
+++ b/xlators/mgmt/glusterd/src/glusterd-volgen.c
@@ -4011,7 +4011,7 @@ client_graph_set_rda_options (volgen_graph_t *graph,
if (ret < 0)
goto out;
}
- gf_string2bytesize_uint64 (rda_req_s, &rda_req_size);
+ ret = gf_string2bytesize_uint64 (rda_req_s, &rda_req_size);
if (ret < 0) {
set_graph_errstr (graph, "invalid number format in option "
VKEY_RDA_REQUEST_SIZE);