Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 158756 - missing return statement
missing return statement
Product: Fedora
Classification: Fedora
Component: e2fsprogs (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Thomas Woerner
Depends On:
  Show dependency treegraph
Reported: 2005-05-25 09:33 EDT by David Binderman
Modified: 2007-11-30 17:11 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-11-10 11:40:09 EST
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 2005-05-25 09:33:36 EDT
Description of problem:

I just tried to compile package e2fsprogs-1.37-4 from
Redhat Fedora Core development tree with the most excellent Intel C

The compiler said

inode.c(747): warning #1011: missing return statement at end of non-void
function "ext2fs_write_new_inode"

The source code is

        retval = ext2fs_write_inode_full(fs, ino, buf, size);

Clearly broken code.  Maybe add 

	return retval;

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

How reproducible:

Steps to Reproduce:
Actual results:

Expected results:

Additional info:
Comment 1 Thomas Woerner 2005-11-10 11:40:09 EST
Fixed in e2fsprogs-1.38.

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