public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
* cluster: STABLE3 - dlm_controld: fix return warning in plock
@ 2009-05-11 15:19 David Teigland
  0 siblings, 0 replies; only message in thread
From: David Teigland @ 2009-05-11 15:19 UTC (permalink / raw)
  To: cluster-cvs-relay

Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=b6b5cf4c79d9d7bcdd162dab345f32674c5dc4b2
Commit:        b6b5cf4c79d9d7bcdd162dab345f32674c5dc4b2
Parent:        bdf42ec99026679262042c3b745c02b743d945db
Author:        Fabio M. Di Nitto <fdinitto@redhat.com>
AuthorDate:    Wed May 6 08:37:48 2009 +0200
Committer:     David Teigland <teigland@redhat.com>
CommitterDate: Mon May 11 10:05:06 2009 -0500

dlm_controld: fix return warning in plock

cluster-stable3/group/dlm_controld/plock.c:1673:
 warning: `return' with no value, in function returning non-void

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

diff --git a/group/dlm_controld/plock.c b/group/dlm_controld/plock.c
index 4e159f1..052196f 100644
--- a/group/dlm_controld/plock.c
+++ b/group/dlm_controld/plock.c
@@ -1670,7 +1670,7 @@ static int _unlink_checkpoint(struct lockspace *ls, SaNameT *name)
 	log_group(ls, "unlink ckpt %llx", (unsigned long long)h);
 
 	if (!h)
-		return;
+		return ret;
 
  unlink_retry:
 	rv = saCkptCheckpointUnlink(system_ckpt_handle, name);


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-05-11 15:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-11 15:19 cluster: STABLE3 - dlm_controld: fix return warning in plock David Teigland

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).