This service will be undergoing maintenance at 00:00 UTC, 2017-10-23 It is expected to last about 30 minutes

Bug 136090

Summary: missing return statement
Product: [Fedora] Fedora Reporter: David Binderman <dcb314>
Component: coreutilsAssignee: Tim Waugh <twaugh>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 3   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-12-10 06:52:25 EST Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description David Binderman 2004-10-17 15:43:38 EDT
Description of problem:

I just tried to compile package coreutils-5.2.1-26 from
Redhat Fedora Core 3 Test 3.

The compiler said

fold.c(256): warning #1011: missing return statement at end of
non-void function "fold_text"

The source code is

	free(line_out);
}

Suggest add return statement at end of routine.



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


How reproducible:


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


Expected results:


Additional info:
Comment 1 Tim Waugh 2004-10-18 08:41:39 EDT
Better solution is to make the function return void.

Reported upstream.
Comment 2 Tim Waugh 2004-10-18 11:43:18 EDT
Actually this comes from coreutils-i18n.patch.  Fixed in CVS.