Bug 152938 - ckermit-8.0.211-9: local variable used before set
Summary: ckermit-8.0.211-9: 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: Marian Jancar
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-22 21:56 UTC by David Binderman
Modified: 2006-02-27 16:37 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-22 21:56:55 UTC
I just tried to compile package ckermit-8.0.211-9 with a prerelease version
4.2 of the GNU C compiler.

It said

ckuus6.c:2071: warning: "xx" is used uninitialized in this function

The source code is

            if (!xx) {

It seems clear from the source code that local variable "xx" is only
initialised if ndialpxx is non-zero.

Suggest initialise local variable "xx" at its declaration.
Comment 1 Anna Maresova 2006-02-27 16:37:48 UTC
fixed