Red Hat Bugzilla – Bug 149715
local variable used before set
Last modified: 2007-11-30 17:11:00 EST
Description of problem:
I just tried to compile package Gtk-Perl-0.7008-37 from
Redhat Fedora Extras development tree.
The compiler said
GtkObject.xs(860): remark #592: variable "signals" is used before its
value is set
The source code is
but signals hasn't been set since it's declaration.
Suggest init signals before first use.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Gtk-Perl is (AFAIK) unmaintained, and only provided as a legacy binding. If you
can provide a patch, I'll gladly included, but otherwise I really don't think
it's worth bothering unless this is known to cause serious issues.
>If you can provide a patch
int signals = 0;
This is untested.