Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 138574 - missing return statement
missing return statement
Product: Fedora
Classification: Fedora
Component: autoconvert (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jens Petersen
Bill Huang
Depends On:
  Show dependency treegraph
Reported: 2004-11-09 17:54 EST by David Binderman
Modified: 2007-11-30 17:10 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-05-16 07:17:01 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description David Binderman 2004-11-09 17:54:53 EST
Description of problem:

I just tried to compile package autoconvert-0.3.7-15 from 
Redhat Fedora Core 3.

The compiler said

unicode.c(66): warning #1011: missing return statement at end of
non-void function "u8toun"

The source code is

                return 3;

What happens if none of the if statements are executed ?

Suggest add return statement at the end of the routine.

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

How reproducible:

Steps to Reproduce:
Actual results:

Expected results:

Additional info:
Comment 1 Jens Petersen 2005-05-16 07:17:01 EDT
This is fixed in newer releases upstream already,
and will be in 0.3.13-1.

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