Bug 114376 - 2 * missing return statement
2 * missing return statement
Product: Fedora
Classification: Fedora
Component: indent (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Petr Machata
Depends On:
  Show dependency treegraph
Reported: 2004-01-27 07:38 EST by d.binderman
Modified: 2015-05-04 21:32 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-01-18 12:55:29 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
declare void functions as void (1.10 KB, patch)
2004-01-31 20:04 EST, Bart Martens
no flags Details | Diff

  None (edit)
Description d.binderman 2004-01-27 07:38:42 EST
Description of problem:

I just tried to compile package indent-2.2.9-3 from Redhat
Fedora Core 1.

The compiler said


output.c(1213): remark #1011: missing return statement at end of
non-void function "inhibit_indenting"

The source code is

extern inhibit_indenting(
    BOOLEAN flag)
    inhibited = flag;

Suggest use void return type.


texinfo2man.c(246): remark #1011: missing return statement at end of
non-void function "process_texi"


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

How reproducible:

Steps to Reproduce:
Actual results:

Expected results:

Additional info:
Comment 1 Bart Martens 2004-01-31 20:04:23 EST
Created attachment 97394 [details]
declare void functions as void
Comment 2 Bart Martens 2004-02-11 00:53:24 EST
I suggest to close this bug as not-a-bug, without use of the patch I
submitted. I realize now that there are lots of similar bug reports,
where a compiler warning is reported, not pointing to any real problem.
Comment 3 David Binderman 2004-11-20 05:05:16 EST
I can confirm that this bug still exists in Fedora Core 3.
Comment 4 Petr Machata 2006-01-18 12:55:29 EST
The fix (or rather cleanup?) is in rawhide.

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