Bug 155948 - netpbm-10.26.22-6: local variable used before set
Summary: netpbm-10.26.22-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: Vladimir Nadvornik
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-07 22:28 UTC by David Binderman
Modified: 2006-03-24 10:43 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-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