From 2fb6c2a9988d35b9256f308810531e9f7c2b9243 Mon Sep 17 00:00:00 2001 From: Hib Eris Date: Sat, 23 Jun 2012 22:34:44 +0200 Subject: [PATCH 04/10] Do not use 'text' uninitialized --- glib/demo/utils.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/glib/demo/utils.c b/glib/demo/utils.c index f1d47c8..c7ae39d 100644 --- a/glib/demo/utils.c +++ b/glib/demo/utils.c @@ -411,7 +411,7 @@ pgd_action_view_set_action (GtkWidget *action_view, for (l = action->ocg_state.state_list; l; l = g_list_next (l)) { PopplerActionLayer *action_layer = (PopplerActionLayer *)l->data; - gchar *text; + gchar *text = NULL; gint n_layers = g_list_length (action_layer->layers); switch (action_layer->action) { -- 1.7.5.4