From b94aaf81d04f87cfcfde76b68876fbc0d27a8deb Mon Sep 17 00:00:00 2001 From: Scott Balneaves Date: Mon, 12 Nov 2012 08:54:33 -0600 Subject: Code audit: fix compile warnings, uninitialized pointer problems --- mate-panel/libpanel-util/panel-show.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mate-panel/libpanel-util/panel-show.c') diff --git a/mate-panel/libpanel-util/panel-show.c b/mate-panel/libpanel-util/panel-show.c index 02ea2e63..5100be88 100644 --- a/mate-panel/libpanel-util/panel-show.c +++ b/mate-panel/libpanel-util/panel-show.c @@ -141,8 +141,8 @@ static gboolean _panel_show_handle_error(const gchar* uri, GdkScreen* screen, GE static gboolean panel_show_caja_search_uri(GdkScreen* screen, const gchar* uri, guint32 timestamp, GError** error) { - char* desktopfile; - GDesktopAppInfo* appinfo; + char* desktopfile = NULL; + GDesktopAppInfo* appinfo = NULL; gboolean ret; desktopfile = panel_g_lookup_in_applications_dirs("caja-folder-handler.desktop"); -- cgit v1.2.1