[staticanalysis]: Fix two uses of uninitialized variables

https://bugzilla.gnome.org/show_bug.cgi?id=732020
This commit is contained in:
Colin Walters committed 2014-06-21 18:08:49 -04:00
1 parent 7b654a88d4
commit d7067975e7
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -244,7 +244,7 @@ ostree_repo_traverse_commit (OstreeRepo *repo,
GCancellable *cancellable,
GError **error)
{
gboolean ret;
gboolean ret = FALSE;
gs_unref_hashtable GHashTable *ret_reachable =
ostree_repo_traverse_new_reachable ();