Red Hat Bugzilla – Bug 114376
2 * missing return statement
Last modified: 2015-05-04 21:32:04 EDT
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
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):
Steps to Reproduce:
Created attachment 97394 [details]
declare void functions as void
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.
I can confirm that this bug still exists in Fedora Core 3.
The fix (or rather cleanup?) is in rawhide.