Bug 136094

Summary: missing return statement
Product: [Fedora] Fedora Reporter: David Binderman <dcb314>
Component: cryptsetupAssignee: Bill Nottingham <notting>
Status: CLOSED UPSTREAM QA Contact: Bill Nottingham <notting>
Severity: medium Docs Contact:
Priority: medium    
Version: 3CC: agk, rvokal
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-03 15:51:22 UTC 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 19:48:29 UTC
Description of problem:

I just tried to compile package cryptsetup-0.1-3 from package
Redhat Fedora Core 3 Test 3.

The compiler said

setup.c(55): warning #1011: missing return statement at end of
non-void function "setup_leave"

The source code is

        if (!memory_unsafe)
                munlockall();
}

Suggest add return statement at end of function.


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


How reproducible:


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


Expected results:


Additional info:

Comment 1 Alasdair Kergon 2004-12-03 15:51:22 UTC
Reported upstream.