Bug 22958 - Returning a value in a void function caused the build failure
Summary: Returning a value in a void function caused the build failure
Status: RESOLVED FIXED
Alias: None
Product: Telepathy
Classification: Unclassified
Component: idle (show other bugs)
Version: unspecified
Hardware: All All
: low minor
Assignee: Telepathy bugs list
QA Contact: Telepathy bugs list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-26 20:55 UTC by elaine
Modified: 2009-08-29 07:28 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
To fix this bug (5.19 KB, patch)
2009-07-26 20:55 UTC, elaine
Details | Splinter Review

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.