public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
From: David Teigland <teigland@fedoraproject.org>
To: cluster-cvs-relay@redhat.com
Subject: cluster: STABLE3 - group_tool: fix shadow warning
Date: Mon, 11 May 2009 15:18:00 -0000	[thread overview]
Message-ID: <20090511151325.AE433120298@lists.fedorahosted.org> (raw)

Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=7b68fe23d686a45f53a3bb208c71132a0a9a4c8a
Commit:        7b68fe23d686a45f53a3bb208c71132a0a9a4c8a
Parent:        45943657f4c9643a523cd767164cd1572272e0f0
Author:        Fabio M. Di Nitto <fdinitto@redhat.com>
AuthorDate:    Wed May 6 11:41:17 2009 +0200
Committer:     David Teigland <teigland@redhat.com>
CommitterDate: Mon May 11 10:05:07 2009 -0500

group_tool: fix shadow warning

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
---
 group/daemon/main.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/group/daemon/main.c b/group/daemon/main.c
index c82b23b..e24ecbb 100644
--- a/group/daemon/main.c
+++ b/group/daemon/main.c
@@ -441,7 +441,7 @@ static void copy_group_data(group_t *g, group_data_t *data)
 	data->id = g->global_id;
 
 	if (g->app && g->app->current_event) {
-		event_t *ev = g->app->current_event;
+		ev = g->app->current_event;
 		data->event_state = ev->state;
 		data->event_nodeid = ev->nodeid;
 		data->event_id = ev->id;


                 reply	other threads:[~2009-05-11 15:18 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=20090511151325.AE433120298@lists.fedorahosted.org \
    --to=teigland@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).