Bug 114997

Summary: missing return statement
Product: [Fedora] Fedora Reporter: d.binderman
Component: libxmlAssignee: Daniel Veillard <veillard>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 1CC: bart.martens
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-02-11 08:54:02 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description d.binderman 2004-02-05 10:05:05 UTC
Description of problem:

I just tried to compile package libxml-1.8.17-9 from Redhat
Fedora Core 1.

The compiler said

1.

parser.c(10630): warning #1011: missing return statement at end of
non-void function "xmlParseBalancedChunkFile"

The source code is

xmlNodePtr
xmlParseBalancedChunkFile(xmlDocPtr doc, xmlNodePtr node) {
}

Clearly wrong. Suggest add return statement, or change return type
to void.



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


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Bart Martens 2004-02-11 01:41:11 UTC
This function is empty, and is nowhere used. May be removed, or ignored.


Comment 2 Daniel Veillard 2004-02-11 08:54:02 UTC
Well, libxml1 is really deprecated code. It should be used only
for binary compatibility for the few apps still using it instead
of libxml2. I really don't plan to make new release for this
3 years old branch ... All new apps should use libxml2 now.
That would have been in libxml2 I would have fixed it immediately
in CVS, but in that case, well it's just a warning one can safely
ignore,

Daniel

Comment 3 David Binderman 2004-11-23 08:22:23 UTC
For the record, this is still broken in Fedora Core 3.

At what point does this library no longer ship with Fedora ?

Comment 4 Daniel Veillard 2004-11-23 09:01:33 UTC
FC3 is the last release where it will ship. No package should use it
anymore.

Daniel