Bug 158558 - 3 * missing return statement
Summary: 3 * missing return statement
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: cryptsetup
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: Bill Nottingham
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-05-23 15:40 UTC by David Binderman
Modified: 2014-03-17 02:54 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-05-23 17:00:17 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description David Binderman 2005-05-23 15:40:24 UTC
Description of problem:

I just tried to compile package cryptsetup-luks-1.0-1 from Redhat
Fedora Core development tree with the most excellent Intel C
compiler.

The compiler said

keyencryption.c(59): warning #1011: missing return statement at end of non-void
function "clear_mapping"
setup.c(64): warning #1011: missing return statement at end of non-void function
"setup_leave"
setup.c(684): warning #1011: missing return statement at end of non-void
function "crypt_luksDelKey"

I've checked the source code in each case, and I recommend adding
return statements into each of the three routines.



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


How reproducible:


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


Expected results:


Additional info:

Comment 1 Bill Nottingham 2005-05-23 17:00:17 UTC
Sent upstream.


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