Bug 130321 - glabels-2.0: local variable used before set
Summary: glabels-2.0: local variable used before set
Status: RESOLVED WONTFIX
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: Other (show other bugs)
Version: Final
Hardware: All SuSE Linux 10.0
: P5 - None : Minor
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-24 17:15 UTC by David Binderman
Modified: 2005-10-26 11:51 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 2005-10-24 17:15:43 UTC
I just tried to compile package glabels-2.0 with a recent snapshot
of the 4.1 version of the GNU C compiler 

It said

canvas-hacktext.c:304: warning: "text" is used uninitialized in this function

The source code is

	if (text) bp->text = g_value_dup_string (value);

Suggest initialise local variable "text" before first use.
Comment 1 Andreas Jaeger 2005-10-25 13:20:18 UTC
David, please send such warnings together with a patch to the upstream package author so that the next official release will contain that fix and we can use it.

thanks.
Comment 2 David Binderman 2005-10-26 11:51:30 UTC
(In reply to comment #1)
> David, please send such warnings together with a patch to the upstream package
> author so that the next official release will contain that fix and we can use
> it.

Will do, but you may consider it prudent to check that the email addresses
that you have in your *.spec files for the package authors are valid.

It makes it hard to report a bug if

a) the folks I got the software from deny all knowledge.
b) the email address of the author doesn't work.

Of the seven bugs I've just reported, five have come back with invalid
email addresses.