Bug 157803 - twinkle-0.5-6: local variable used before set
Summary: twinkle-0.5-6: local variable used before set
Status: RESOLVED FIXED
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: unspecified
Hardware: All SuSE Linux 10.1
: P5 - None : Normal
Target Milestone: ---
Assignee: Hendrik Vogelsang
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-13 23:09 UTC by David Binderman
Modified: 2006-05-18 11:30 UTC (History)
0 users

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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