Bug 155948

Summary: netpbm-10.26.22-6: local variable used before set
Product: [openSUSE] SUSE LINUX 10.0 Reporter: David Binderman <dcb314>
Component: BasesystemAssignee: Vladimir Nadvornik <nadvornik>
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-07 22:28:13 UTC
I just tried to compile package netpbm-10.26.22-6 with the Intel C compiler.

It said

ximtoppm.c(59): warning #592: variable "opt" is used before its value is set

The source code is

	optParseOptions3(&argc, argv, opt, sizeof(opt), 0);

I agree with the compiler.  Suggest initialise local variable "opt" before first
use.
Comment 1 Vladimir Nadvornik 2006-03-24 10:43:31 UTC
fixed