Bug 26855

Summary: Compiler warns about no return value in non-void functions.
Product: at-spi2 Reporter: Dominique Leuenberger <dominique-freedesktop.org>
Component: coreAssignee: Rob Taylor <rob.taylor>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: Patch to fix the warnings.

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.