Bug 143921

Summary: 2 * local variable used before set
Product: [Fedora] Fedora Reporter: David Binderman <dcb314>
Component: xscreensaverAssignee: Ray Strode [halfline] <rstrode>
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-01-21 15:19:41 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-01-01 12:02:38 UTC
Description of problem:

I just tried to compile package xscreensaver-4.18-14 from 
Redhat Fedora development tree.

The compiler said

1.

./xscreensaver-config-tool.c(903): remark #592: variable "hack" is
used before its value is set

The source code is

          screen_hack_free (hack);

It seems that hack is not initialised since its declaration.  Suggest init
hack before first use.

2.

./xscreensaver-config-tool.c(972): remark #592: variable "hack" 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 Ray Strode [halfline] 2005-01-21 15:19:41 UTC
Hi,

The xscreensaver-config-tool made a brief appearance in rawhide to
handle the "split xscreensaver up" problem, but another approach was
taken after some discussion with the author of xscreensaver.