Bug 22957

Summary: Build error: Return a value in a void function
Product: Telepathy Reporter: elaine <elaine.xiong>
Component: tp-glibAssignee: Telepathy bugs list <telepathy-bugs>
Status: RESOLVED FIXED QA Contact: Telepathy bugs list <telepathy-bugs>
Severity: minor    
Priority: low Keywords: patch
Version: unspecified   
Hardware: All   
OS: All   
URL: http://git.collabora.co.uk/?p=user/smcv/telepathy-glib-smcv.git;a=shortlog;h=refs/heads/build
Whiteboard:
i915 platform: i915 features:
Attachments: To fix this bug

Description elaine 2009-07-26 20:41:53 UTC
Created attachment 28024 [details] [review]
To fix this bug

It's improper to return a value in a void function as the other compilers except GCC might not tolerate it.
Comment 1 Simon McVittie 2009-08-17 09:09:56 UTC
It's never necessary to "return;" at the end of a void function, so I've omitted that. Modified patch submitted for review, thanks.
Comment 2 Simon McVittie 2009-08-18 07:01:11 UTC
Fixed in git, will be in 0.7.35 later today

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.