Bug 152042 - pilot-link-0.12.0_pre4-7: local variable used before set
Summary: pilot-link-0.12.0_pre4-7: 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: Petr Ostadal
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-18 12:32 UTC by David Binderman
Modified: 2006-02-20 13:44 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-02-18 12:32:42 UTC
I just tried to compile package pilot-link-0.12.0_pre4-7 with the Intel C compiler.

It said

1.

dlp.c(2279): warning #592: variable "res" is used before its value is set

The source code is

                        LOG((PI_DBG_DLP, PI_DBG_LVL_INFO,
                            "DLP ReadFeature FtrGet error 0x%8.8lX\n",
                            res));

Suggest initialise local variable "res" before first use.
Comment 1 Petr Ostadal 2006-02-20 13:44:06 UTC
fixed and submited to STABLE