Bug 22958

Summary: Returning a value in a void function caused the build failure
Product: Telepathy Reporter: elaine <elaine.xiong>
Component: idleAssignee: Telepathy bugs list <telepathy-bugs>
Status: RESOLVED FIXED QA Contact: Telepathy bugs list <telepathy-bugs>
Severity: minor    
Priority: low    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: To fix this bug

Description elaine 2009-07-26 20:55:34 UTC
Created attachment 28025 [details] [review]
To fix this bug

It is improper to return a value in a void function as the other compilers such as Sun Compiler might not tolerate it.
Comment 1 Will Thompson 2009-08-29 07:28:16 UTC
Thanks for the patch! I've committed (a slightly modified version of) it to git master: <http://git.collabora.co.uk/?p=telepathy-idle.git;a=commitdiff;h=524d8bc287b82cb23ceb9ba619fe342fc10627e2>. It'll be in the next Idle release.

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.