diff options
author | Hari Gowtham <hgowtham@redhat.com> | 2015-07-14 18:23:16 +0530 |
---|---|---|
committer | Niels de Vos <ndevos@redhat.com> | 2015-08-13 02:23:50 -0700 |
commit | 15796b3d3efb998bdb5413ac0ad1af1903cae493 (patch) | |
tree | dfeafbb414286195307fa99989c05023acfd0e9a /cli/src/cli-cmd-volume.c | |
parent | f7668938cd7745d024f3d2884e04cd744d0a69ab (diff) |
cli: changing the assignment to comparison operator on an if statement
CID: 1124702
Change-Id: I6366834224a8176824070150b7f2af76b4d65b7f
BUG: 789278
Signed-off-by: Hari Gowtham <hgowtham@redhat.com>
Reviewed-on: http://review.gluster.org/11665
Tested-by: NetBSD Build System <jenkins@build.gluster.org>
Reviewed-by: Humble Devassy Chirammal <humble.devassy@gmail.com>
Reviewed-by: Manikandan Selvaganesh <mselvaga@redhat.com>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Niels de Vos <ndevos@redhat.com>
Diffstat (limited to 'cli/src/cli-cmd-volume.c')
-rw-r--r-- | cli/src/cli-cmd-volume.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/src/cli-cmd-volume.c b/cli/src/cli-cmd-volume.c index 3793863890d..e26f5435c63 100644 --- a/cli/src/cli-cmd-volume.c +++ b/cli/src/cli-cmd-volume.c @@ -2356,7 +2356,7 @@ cli_cmd_volume_statedump_cbk (struct cli_state *state, struct cli_cmd_word *word out: if (ret) { cli_cmd_sent_status_get (&sent); - if ((sent == 0) && (parse_error = 0)) + if ((sent == 0) && (parse_error == 0)) cli_out ("Volume statedump failed"); } |