Bug 26855 - Compiler warns about no return value in non-void functions.
Summary: Compiler warns about no return value in non-void functions.
Status: RESOLVED FIXED
Alias: None
Product: at-spi2
Classification: Unclassified
Component: core (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Rob Taylor
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-03 03:17 UTC by Dominique Leuenberger
Modified: 2010-05-28 00:04 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Patch to fix the warnings. (880 bytes, patch)
2010-03-03 03:17 UTC, Dominique Leuenberger
Details | Splinter Review

Description Dominique Leuenberger 2010-03-03 03:17:12 UTC
Created attachment 33716 [details] [review]
Patch to fix the warnings.

While building, there are various warnings regarding function returning random data.

Such warnings are risen to errors in the openSUSE BuildService. From the log:

: Program returns random data in a function
E: at-spi2-core no-return-in-nonvoid-function registry.c:102, 443, 758, 768

I: Program returns random data in a function
E: at-spi2-core no-return-in-nonvoid-function registry.c:102, 443, 758, 768

The attached Patch (courtesy to Rudi Oertel) fixes those warnings.
Comment 1 Stephen Shaw 2010-05-27 23:58:57 UTC
This has been fixed in master by mgorse
Comment 2 Stephen Shaw 2010-05-28 00:04:53 UTC
(In reply to comment #1)
> This has been fixed in master by mgorse

sorry, this will be in 0.3.3 or whatever comes after 0.3.2.


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.