diff options
author | Nandaja Varma <nvarma@redhat.com> | 2015-02-04 16:59:55 +0530 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2015-04-10 10:02:23 +0000 |
commit | d57642044b720663c6474d318106c19e84f2c8bf (patch) | |
tree | e9412b461f56717ca37f9a9dad6ad0092cba4e20 | |
parent | 36aef0411431f62d2412f71557730543edf05726 (diff) |
gluster-cli : Removing logically dead code
Coverity CID: 1124451
Change-Id: I7b2901fdd2ace4666f9e2c6deaf3838322a1c6ff
BUG: 789278
Signed-off-by: Nandaja Varma <nvarma@redhat.com>
Reviewed-on: http://review.gluster.org/9579
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
-rw-r--r-- | cli/src/cli-rpc-ops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/src/cli-rpc-ops.c b/cli/src/cli-rpc-ops.c index 5a95cff88e3..0d57c858e43 100644 --- a/cli/src/cli-rpc-ops.c +++ b/cli/src/cli-rpc-ops.c @@ -4130,7 +4130,7 @@ gf_cli_getspec (call_frame_t *frame, xlator_t *this, goto out; op_dict = dict_new (); - if (!dict) { + if (!op_dict) { ret = -1; goto out; } |