From 15796b3d3efb998bdb5413ac0ad1af1903cae493 Mon Sep 17 00:00:00 2001 From: Hari Gowtham Date: Tue, 14 Jul 2015 18:23:16 +0530 Subject: cli: changing the assignment to comparison operator on an if statement CID: 1124702 Change-Id: I6366834224a8176824070150b7f2af76b4d65b7f BUG: 789278 Signed-off-by: Hari Gowtham Reviewed-on: http://review.gluster.org/11665 Tested-by: NetBSD Build System Reviewed-by: Humble Devassy Chirammal Reviewed-by: Manikandan Selvaganesh Tested-by: Gluster Build System Reviewed-by: Niels de Vos --- cli/src/cli-cmd-volume.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli') 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"); } -- cgit