Bug 130237

Summary: ctwm-3: local variable used before set
Product: [openSUSE] SUSE LINUX 10.0 Reporter: David Binderman <dcb314>
Component: OtherAssignee: Joerg Arndt <arndt>
Status: RESOLVED WONTFIX QA Contact: E-mail List <qa-bugs>
Severity: Minor    
Priority: P5 - None CC: aj
Version: Final   
Target Milestone: ---   
Hardware: All   
OS: SuSE Linux 10.0   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description David Binderman 2005-10-24 09:47:51 UTC
I just tried to compile package ctwm-3.6-108 with the GNU C
compiler version 4.1 

It said

util.c:3290: warning: "pm" is used uninitialized in this function

The source code is

	if (pm == None) {

Suggest initialise pm before first use, for example, before the for loop.
Comment 2 David Binderman 2006-10-30 19:44:04 UTC
I can confirm that this bug still exists in
Suse Linux 10.2 Beta 1.

There seems to be no activity on this bug
report for over a year.

Comment 3 Andreas Jaeger 2007-04-25 19:06:09 UTC
cwtm is dropped now and will not appear in 10.3 anymore.