[gnome-packagekit] trivial: Fix up a warning in clang that gcc should really have given us



commit bbe5c586754ff0519859017cf1886c0aa279114e
Author: Richard Hughes <richard hughsie com>
Date:   Fri Apr 30 15:20:29 2010 +0100

    trivial: Fix up a warning in clang that gcc should really have given us

 src/gpk-update-viewer.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gpk-update-viewer.c b/src/gpk-update-viewer.c
index 52384b2..3f526c5 100644
--- a/src/gpk-update-viewer.c
+++ b/src/gpk-update-viewer.c
@@ -811,7 +811,7 @@ gpk_update_viewer_find_parent (GpkUpdateViewer *update_viewer, const gchar *pack
 	gchar **split = NULL;
 	gchar *found;
 	gchar *name;
-	gboolean ret;
+	gboolean ret = FALSE;
 
 	/* get the name */
 	split = pk_package_id_split (package_id);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]