Bug 117938

Summary: local variable used before set
Product: [Fedora] Fedora Reporter: d.binderman
Component: kdelibsAssignee: Than Ngo <than>
Status: CLOSED ERRATA 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-04-19 18:13:27 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-03-10 09:01:30 UTC
Description of problem:

I just tried to compile Fedora Core2 Test1 package kdelibs-3.1.95-0.3

The compiler said

1.

kimageeffect.cpp(3718): warning #592: variable "low" is used before
its value is set

The source code is

    if(low.red == high.red){

Suggest init low 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 2005-04-19 18:13:27 UTC
it's now fixed in kdelibs-3.3.1-2.12.FC3. thanks for your report.
it will be released by friday this week.