Bug 111432 - missing return statement
missing return statement
Status: CLOSED UPSTREAM
Product: Fedora
Classification: Fedora
Component: w3c-libwww (Show other bugs)
1
All Linux
medium Severity medium
: ---
: ---
Assigned To: Harald Hoyer
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2003-12-03 12:29 EST by d.binderman
Modified: 2007-11-30 17:10 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2003-12-04 06:57:09 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description d.binderman 2003-12-03 12:29:42 EST
Description of problem:
I just tried to compile package w3c-libwww-5.4.0-7 from Fedora.

The compiler said

1.

rdf_parse_buffer.c(104): remark #1011: missing return statement at end
of non-void function "parse_buffer"

The source code is

PRIVATE char * parse_buffer(const char *file_name, char **ret_buff,
int *ret_length)
{
	/* more code */
}

I think there is a missing return statement at the end of this
routine. Suspect

	return 0;

should be added.



Version-Release number of selected component (if applicable):
w3c-libwww-5.4.0-7 

How reproducible:


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


Expected results:


Additional info:
Comment 1 Harald Hoyer 2003-12-04 06:57:09 EST
please report these issues upstream... btw, this is non-critical code,
as it is in the Examples directory...

Note You need to log in before you can comment on or make changes to this bug.