summaryrefslogtreecommitdiff
path: root/src/gtkext/gtkbufferview.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2015-11-11 23:05:36 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2015-11-11 23:05:36 (GMT)
commit355a7140932b77d351bc6ddd965608b0011af855 (patch)
treef297872a2a33e0617d5fad0c85d00871f1482b06 /src/gtkext/gtkbufferview.c
parent0727204e36e919f06e80181482981c3f19669d76 (diff)
Fixed most of the warnings about use of uninitialized data.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@607 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/gtkext/gtkbufferview.c')
-rw-r--r--src/gtkext/gtkbufferview.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gtkext/gtkbufferview.c b/src/gtkext/gtkbufferview.c
index 2884383..0d11de2 100644
--- a/src/gtkext/gtkbufferview.c
+++ b/src/gtkext/gtkbufferview.c
@@ -595,6 +595,8 @@ static gboolean gtk_buffer_view_query_tooltip(GtkWidget *widget, gint x, gint y,
if (g_binary_format_find_next_symbol_at(format, &addr, &next_sym))
stop_addr = get_mrange_addr(g_binary_symbol_get_range(next_sym));
+ else
+ stop_addr = NULL; /* Pour GCC */
g_generic_config_get_value(get_main_configuration(), MPK_TOOLTIP_SIZE, &count);