Bug 114988 - possibly missing return statement ?
Summary: possibly missing return statement ?
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: less
Version: 1
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Karsten Hopp
QA Contact: Mike McLean
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-02-05 09:46 UTC by d.binderman
Modified: 2007-11-30 22:10 UTC (History)
0 users

(edit)
Clone Of:
(edit)
Last Closed: 2004-12-08 11:13:49 UTC


Attachments (Terms of Use)

Description d.binderman 2004-02-05 09:46:50 UTC
Description of problem:

I just tried to compile package less-378-11.1 from Redhat
Fedora Core 1.

The compiler said

1.

unify.c(1413): warning #1011: missing return statement at end of
non-void function "chisvalid_cs"

What happens if none of the if conditions in the function chisvalid_cs
are true, and fall thru occurs ?

Is this scenario impossible to occur ?



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


How reproducible:


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


Expected results:


Additional info:

Comment 1 Karsten Hopp 2004-12-08 11:13:49 UTC
less-382 from FC1-updates doesn't have this problem 


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