Bug 150304

Summary: 2 * missing return statement
Product: [Fedora] Fedora Reporter: David Binderman <dcb314>
Component: uimAssignee: Akira TAGOH <tagoh>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 3CC: petersen
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 0.4.6-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-04-18 12:54:28 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description David Binderman 2005-03-04 15:46:57 UTC
Description of problem:

I just tried to compile uim-0.4.5-2 from Redhat Fedora Extras development
tree with the Intel C compiler.

The compiler said

1.

canna.c(449): warning #1011: missing return statement at end of
non-void function "commit_segment"

I've had a look at the code, and I agree with the compiler. Suggest
add return statement at the end of the function.

2.

canna.c(457): warning #1011: missing return statement at end of
non-void function "reset_conversion"

The source code is

static LISP
reset_conversion(LISP id_)
{
  int id = uim_scm_c_int(id_);

  _reset_conversion(id);
}

Suggest add return statement at the end of the 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 Akira TAGOH 2005-04-18 12:54:28 UTC
will be fixed in 0.4.6-1.