From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29212 invoked by alias); 31 Jul 2008 08:59:14 -0000 Received: (qmail 29206 invoked by alias); 31 Jul 2008 08:59:14 -0000 X-Spam-Status: No, hits=-0.5 required=5.0 tests=BAYES_20,KAM_MX,SPF_HELO_PASS X-Spam-Check-By: sourceware.org X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on bastion.fedora.phx.redhat.com X-Spam-Level: Subject: master - qdisk: fix compile error when building without debug. To: cluster-cvs-relay@redhat.com X-Project: Cluster Project X-Git-Module: cluster.git X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: 3040d0a5339a8af29bf3866f8a65a94541a11284 X-Git-Newrev: 86753221e88e910d57429e06c4aa3e6295d8d4f2 From: Christine Caulfield Message-Id: <20080731085824.F25D4A8257@lists.fedorahosted.org> Date: Thu, 31 Jul 2008 17:49:00 -0000 X-Scanned-By: MIMEDefang 2.58 on 172.16.52.254 Mailing-List: contact cluster-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: cluster-cvs-owner@sourceware.org X-SW-Source: 2008-q3/txt/msg00187.txt.bz2 Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=86753221e88e910d57429e06c4aa3e6295d8d4f2 Commit: 86753221e88e910d57429e06c4aa3e6295d8d4f2 Parent: 3040d0a5339a8af29bf3866f8a65a94541a11284 Author: Christine Caulfield AuthorDate: Thu Jul 31 09:57:59 2008 +0100 Committer: Christine Caulfield CommitterDate: Thu Jul 31 09:57:59 2008 +0100 qdisk: fix compile error when building without debug. Signed-off-by: Christine Caulfield --- 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");