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



commit 6f1f2a0e08fa3b84009c3b5e382f422c9c50760a
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 7fca965..23a9f5c 100644
--- a/src/gpk-update-viewer.c
+++ b/src/gpk-update-viewer.c
@@ -810,7 +810,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]