public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
From: Christine Caulfield <chrissie@fedoraproject.org>
To: cluster-cvs-relay@redhat.com
Subject: STABLE2 - cman: fix uninitialised variable warning.
Date: Tue, 12 Aug 2008 16:01:00 -0000	[thread overview]
Message-ID: <20080812141508.650D312002B@lists.fedorahosted.org> (raw)

Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=45e9ef23b075edda61908071e635fb0850431b46
Commit:        45e9ef23b075edda61908071e635fb0850431b46
Parent:        9420fea55723aff303dea245df6f47371da30e2a
Author:        Christine Caulfield <ccaulfie@redhat.com>
AuthorDate:    Tue Aug 12 15:14:36 2008 +0100
Committer:     Christine Caulfield <ccaulfie@redhat.com>
CommitterDate: Tue Aug 12 15:14:36 2008 +0100

cman: fix uninitialised variable warning.

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 c219642..b07ff41 100644
--- a/cman/qdisk/main.c
+++ b/cman/qdisk/main.c
@@ -437,7 +437,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;
 
 	clulog(LOG_INFO, "Quorum Daemon Initializing\n");
 	


                 reply	other threads:[~2008-08-12 14:16 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080812141508.650D312002B@lists.fedorahosted.org \
    --to=chrissie@fedoraproject.org \
    --cc=cluster-cvs-relay@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).