master - qdisk: fix compile error when building without debug.
Christine Caulfield
chrissie@fedoraproject.org
Thu Jul 31 17:49:00 GMT 2008
Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=86753221e88e910d57429e06c4aa3e6295d8d4f2
Commit: 86753221e88e910d57429e06c4aa3e6295d8d4f2
Parent: 3040d0a5339a8af29bf3866f8a65a94541a11284
Author: Christine Caulfield <ccaulfie@redhat.com>
AuthorDate: Thu Jul 31 09:57:59 2008 +0100
Committer: Christine Caulfield <ccaulfie@redhat.com>
CommitterDate: Thu Jul 31 09:57:59 2008 +0100
qdisk: fix compile error when building without debug.
Signed-off-by: Christine Caulfield <ccaulfie@redhat.com>
---
cman/qdisk/main.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/cman/qdisk/main.c b/cman/qdisk/main.c
index a924ab6..0f3fe7d 100644
--- a/cman/qdisk/main.c
+++ b/cman/qdisk/main.c
@@ -444,7 +444,7 @@ master_exists(qd_ctx *ctx, node_info_t *ni, int max, int *low_id, int *count)
static int
quorum_init(qd_ctx *ctx, node_info_t *ni, int max, struct h_data *h, int maxh)
{
- int x = 0, score, maxscore, score_req;
+ int x = 0, score, maxscore, score_req = 0;
log_printf(LOG_INFO, "Quorum Daemon Initializing\n");
More information about the Cluster-cvs
mailing list