Bugzilla – Bug 130321
glabels-2.0: local variable used before set
Last modified: 2005-10-26 11:51:30 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.
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.
(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.