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: dlm: master - libdlm: fix warning Date: Thu, 12 Mar 2009 16:39:00 -0000 [thread overview] Message-ID: <20090312163736.B5C0A120198@lists.fedorahosted.org> (raw) 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 */
reply other threads:[~2009-03-12 16:39 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=20090312163736.B5C0A120198@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: linkBe 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).