Bug 157411 - resample-1.7-118: local variable used before set
Summary: resample-1.7-118: 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: Takashi Iwai
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-11 08:56 UTC by David Binderman
Modified: 2006-03-13 14:10 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-11 08:56:28 UTC
I just tried to compile package resample-1.7-118 with the Intel C compiler.

It said

audio.c(2551): warning #592: variable "level" is used before its value is set

The source code is

	sprintf(strbuf,"OSS version: %x.%x.%x\n",(level>>16)&0xff,(level>>8)&0xff,level&0xff);

Suggest initialise local variable "level" before first use.
Comment 1 Takashi Iwai 2006-03-13 14:10:31 UTC
Thanks, submitted the fixed package.