This is the mail archive of the
cluster-cvs@sourceware.org
mailing list for the cluster.
cluster: STABLE3 - dlm_controld: fix return warning in plock
- From: David Teigland <teigland at fedoraproject dot org>
- To: cluster-cvs-relay at redhat dot com
- Date: Mon, 11 May 2009 15:12:52 +0000 (UTC)
- Subject: cluster: STABLE3 - dlm_controld: fix return warning in plock
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);