[glib/glib-2-32] gappinfo: Fix uninitialized-variable gcc warning
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/glib-2-32] gappinfo: Fix uninitialized-variable gcc warning
- Date: Sat, 14 Jul 2012 23:19:48 +0000 (UTC)
commit 9851202b159f507bc4fac0624d310df4bcb4eefc
Author: Colin Walters <walters verbum org>
Date: Sat May 26 11:53:14 2012 -0400
gappinfo: Fix uninitialized-variable gcc warning
gio/gappinfo.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gio/gappinfo.c b/gio/gappinfo.c
index 1018185..c445d55 100644
--- a/gio/gappinfo.c
+++ b/gio/gappinfo.c
@@ -653,7 +653,7 @@ g_app_info_launch_default_for_uri (const char *uri,
GError **error)
{
char *uri_scheme;
- GAppInfo *app_info;
+ GAppInfo *app_info = NULL;
GList l;
gboolean res;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]