Bug 157803

Summary: twinkle-0.5-6: local variable used before set
Product: [openSUSE] SUSE LINUX 10.0 Reporter: David Binderman <dcb314>
Component: BasesystemAssignee: Hendrik Vogelsang <hvogel>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: SuSE Linux 10.1   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description David Binderman 2006-03-13 23:09:59 UTC
I just tried to compile package twinkle-0.5-6 with the Intel C compiler.

It said

audio_device.cpp(286): warning #592: variable "dsp_info" is used before its value is set

The source code is

	unsigned char *trash = new unsigned char[dsp_info.bytes];

Suggest initialise local variable "dsp_info" before first use.
Comment 1 Hendrik Vogelsang 2006-03-17 11:54:37 UTC
please report this upstream. twinkle is maintained
Comment 2 David Binderman 2006-03-17 14:08:32 UTC
(In reply to comment #1)
> please report this upstream. twinkle is maintained

If that did any good then I would.

It got reported about a month ago to michel@twinklephone.com.

The bug still exists in Suse Linux.
Comment 3 Hendrik Vogelsang 2006-05-18 11:30:40 UTC
fixed with 0.7.1 which is in FACTORY now