Bug 143921 - 2 * local variable used before set
Summary: 2 * local variable used before set
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: xscreensaver
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Ray Strode [halfline]
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-01-01 12:02 UTC by David Binderman
Modified: 2007-11-30 22:10 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-01-21 15:19:41 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


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