Bug 116663

Summary: possible problem with unset local variables
Product: [Fedora] Fedora Reporter: d.binderman
Component: xpdfAssignee: Than Ngo <than>
Status: CLOSED CURRENTRELEASE QA Contact: Mike McLean <mikem>
Severity: medium Docs Contact:
Priority: medium    
Version: 2   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-06-24 15:09:55 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 d.binderman 2004-02-24 09:09:50 UTC
Description of problem:

I just tried to compile Core2 Test1 package xpdf-2.03-1

The compiler said

1.

type1.c(1766): remark #592: variable "c1x0" is used before its value
is set
type1.c(1766): remark #592: variable "c1y0" is used before its value
is set
type1.c(1766): remark #592: variable "c1x1" is used before its value
is set
type1.c(1766): remark #592: variable "c1y1" is used before its value
is set
type1.c(1766): remark #592: variable "c2x0" is used before its value
is set
type1.c(1766): remark #592: variable "c2y0" is used before its value
is set
type1.c(1766): remark #592: variable "c2x1" is used before its value
is set
type1.c(1766): remark #592: variable "c2y1" is used before its value
is set

The source code is

        PickCoords(FALSE); /* Pick original control points */

Do all these local variables need initialisation before first use ?


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


How reproducible:


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


Expected results:


Additional info:

Comment 1 Than Ngo 2004-06-24 15:09:55 UTC
it seems to be fixed in new upstream xpdf-3.00-3