Bug 118083 - local variable used before set
Summary: local variable used before set
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: gtkhtml3   
(Show other bugs)
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Dave Malcolm
QA Contact:
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-03-11 20:09 UTC by d.binderman
Modified: 2007-11-30 22:10 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2004-08-20 02:05:48 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

Description d.binderman 2004-03-11 20:09:01 UTC
Description of problem:

I just tried to compile Fedora Core2 Test1 package gtkhtml3-3.1.7-1

The compiler said

hyperlink.c(153): remark #592: variable "url" is used before its value
is set

The source code is

                        gchar *url;

                        g_signal_emit_by_name (gtkhtml,
"link_clicked", url);

Suggest init url before first use.


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Dave Malcolm 2004-08-20 02:05:48 UTC
Thanks.  This was fixed at some time at or before version 3.1.17, and
is fixed in the current version in Rawhide (3.3.0)


Note You need to log in before you can comment on or make changes to this bug.