Bug 22957 - Build error: Return a value in a void function
Summary: Build error: Return a value in a void function
Status: RESOLVED FIXED
Alias: None
Product: Telepathy
Classification: Unclassified
Component: tp-glib (show other bugs)
Version: unspecified
Hardware: All All
: low minor
Assignee: Telepathy bugs list
QA Contact: Telepathy bugs list
URL: http://git.collabora.co.uk/?p=user/sm...
Whiteboard:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2009-07-26 20:41 UTC by elaine
Modified: 2009-08-18 07:01 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
To fix this bug (683 bytes, patch)
2009-07-26 20:41 UTC, elaine
Details | Splinter Review

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.