Bug 158558 - 3 * missing return statement
3 * missing return statement
Status: CLOSED UPSTREAM
Product: Fedora
Classification: Fedora
Component: cryptsetup (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Bill Nottingham
Bill Nottingham
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2005-05-23 11:40 EDT by David Binderman
Modified: 2014-03-16 22:54 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-05-23 13:00:17 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description David Binderman 2005-05-23 11:40:24 EDT
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 13:00:17 EDT
Sent upstream.

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