Bug 155977

Summary: non-void function "constant" should return a value
Product: [Fedora] Fedora Reporter: David Binderman <dcb314>
Component: newt-perlAssignee: Joe Orton <jorton>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: 1.08-10 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-12-14 15:16:10 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description David Binderman 2005-04-26 12:37:33 UTC
Description of problem:

I just tried to compile newt-perl-1.08-8 from Redhat
Fedora Core development tree with the most excellent Intel C

The compiler said

Newt.xs(99): warning #117: non-void function "constant" should return a value

The source code is

            return H_NEWT;

I'm not sure what the fix is for this. 

Maybe H_NEWT is #defined to be blank, and that is what is upsetting
the compiler ?

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
Actual results:

Expected results:

Additional info:

Comment 1 Joe Orton 2006-12-14 15:16:10 UTC
This is fixed in Raw Hide, thanks for the report.