Bug 136757 - missing return statement
missing return statement
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: ghostscript (Show other bugs)
3
All Linux
low Severity low
: ---
: ---
Assigned To: Tim Waugh
Mike McLean
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2004-10-22 04:04 EDT by David Binderman
Modified: 2007-11-30 17:10 EST (History)
0 users

See Also:
Fixed In Version: 7.07-37
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2004-12-10 11:35:36 EST
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 2004-10-22 04:04:14 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.4)
Gecko/20030624 Netscape/7.1 (ax)

Description of problem:

I just tried to compile package ghostscript-7.07-32 from package
Redhat Fedora Core 3 Test 3.

The compiler said

./src/gxcht.c(89): warning #1011: missing return statement at end of
non-void function "gx_dc_ht_colored_equal"

Upon inspection of the source code, there is no way for this function
to return the value "true". Suggest code re-work.


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


How reproducible:
Always

Steps to Reproduce:
1. compile the program
2.
3.
    

Additional info:
Comment 2 Tim Waugh 2004-12-10 09:54:03 EST
Fixed in CVS.

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