Bug 150304 - 2 * missing return statement
Summary: 2 * missing return statement
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: uim
Version: 3
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Akira TAGOH
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-03-04 15:46 UTC by David Binderman
Modified: 2007-11-30 22:11 UTC (History)
1 user (show)

(edit)
Clone Of:
(edit)
Last Closed: 2005-04-18 12:54:28 UTC


Attachments (Terms of Use)

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.


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