Bug 164089

Summary: 2 * local variable used before set
Product: [Fedora] Fedora Reporter: David Binderman <dcb314>
Component: libtiffAssignee: Matthias Clasen <mclasen>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
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: 2005-09-30 22:55:21 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-07-24 16:38:18 UTC
Description of problem:

Hello there,

I just tried to compile Redhat Fedora package
libtiff-3.7.2-1 with the Intel C compiler version 8.1

The compiler said

1.

tiff2ps.c(601): remark #592: variable "psw" is used before its value is set

The source code is

                        if (!generateEPSF && ( level2 || level3 )) {
                                double psw, psh;
                                if (psw != 0.0) {

Clearly broken code. Suggest initialise local variable "psw"
before first use.

2.

tiff2ps.c(607): remark #592: variable "psh" is used before its value is set

Duplicate.


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


How reproducible:


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


Expected results:


Additional info:

Comment 1 Matthias Clasen 2005-09-30 22:55:21 UTC
Fixed in 3.7.4 in rawhide.