public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
* dlm: master - libdlm: fix warning
@ 2009-03-12 16:39 David Teigland
0 siblings, 0 replies; only message in thread
From: David Teigland @ 2009-03-12 16:39 UTC (permalink / raw)
To: cluster-cvs-relay
Gitweb: http://git.fedorahosted.org/git/dlm.git?p=dlm.git;a=commitdiff;h=b4de074a7a5b34f8fe2ceec252e847f2efb66389
Commit: b4de074a7a5b34f8fe2ceec252e847f2efb66389
Parent: 140561b3523713b1faff87dc76f2e21d88adc2b4
Author: David Teigland <teigland@redhat.com>
AuthorDate: Thu Mar 12 11:32:52 2009 -0500
Committer: David Teigland <teigland@redhat.com>
CommitterDate: Thu Mar 12 11:34:13 2009 -0500
libdlm: fix warning
cc1: warnings being treated as errors
/root/foo/cluster-3.0.0.beta1/dlm/libdlm/libdlm.c: In function
???dlm_recv_thread???:
/root/foo/cluster-3.0.0.beta1/dlm/libdlm/libdlm.c:1181: error: no return
statement in function returning non-void
Signed-off-by: David Teigland <teigland@redhat.com>
---
dlm/libdlm/libdlm.c | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/dlm/libdlm/libdlm.c b/dlm/libdlm/libdlm.c
index af203d4..c925233 100644
--- a/dlm/libdlm/libdlm.c
+++ b/dlm/libdlm/libdlm.c
@@ -1174,10 +1174,12 @@ int dlm_ls_get_fd(dlm_lshandle_t lockspace)
#ifdef _REENTRANT
static void *dlm_recv_thread(void *lsinfo)
{
- struct dlm_ls_info *lsi = lsinfo;
+ struct dlm_ls_info *lsi = lsinfo;
- for (;;)
- do_dlm_dispatch(lsi->fd);
+ for (;;)
+ do_dlm_dispatch(lsi->fd);
+
+ return NULL;
}
/* Multi-threaded callers normally use this */
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-03-12 16:39 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-12 16:39 dlm: master - libdlm: fix warning 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).