[gtkhtml2] Initialize variable to not return random value
- From: Vincent Untz <vuntz src gnome org>
- To: svn-commits-list gnome org
- Subject: [gtkhtml2] Initialize variable to not return random value
- Date: Wed, 13 May 2009 04:38:13 -0400 (EDT)
commit f4a698dbbedbdb2614ca2bfb585095049b57748e
Author: Vincent Untz <vuntz gnome org>
Date: Wed May 13 10:37:51 2009 +0200
Initialize variable to not return random value
---
ChangeLog | 5 +++++
libgtkhtml/a11y/htmlboxblocktextaccessible.c | 2 +-
2 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index c8c67f2..583a929 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-05-13 Vincent Untz <vuntz gnome org>
+
+ * libgtkhtml/a11y/htmlboxblocktextaccessible.c (is_text_in_line):
+ initialize variable to make sure we don't return something random
+
2008-08-02 Rodney Dawes <dobey pwns gmail com>
* configure.in:
diff --git a/libgtkhtml/a11y/htmlboxblocktextaccessible.c b/libgtkhtml/a11y/htmlboxblocktextaccessible.c
index 31b57a5..86b61d0 100644
--- a/libgtkhtml/a11y/htmlboxblocktextaccessible.c
+++ b/libgtkhtml/a11y/htmlboxblocktextaccessible.c
@@ -1275,7 +1275,7 @@ static gboolean is_text_in_line (HtmlBox *root,
HtmlBox *anchor,
GailOffsetType function)
{
- gboolean is_in_line;
+ gboolean is_in_line = FALSE;
gint anchor_y;
gint root_y;
gint delta = 1;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]