[ostree] libostree: Squash a compiler warning



commit 379db715d7f936742c0d77895d709d962575abc9
Author: Colin Walters <walters verbum org>
Date:   Thu Oct 24 14:37:50 2013 -0400

    libostree: Squash a compiler warning

 src/libostree/ostree-repo-pull.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/libostree/ostree-repo-pull.c b/src/libostree/ostree-repo-pull.c
index ce1af2a..271d44d 100644
--- a/src/libostree/ostree-repo-pull.c
+++ b/src/libostree/ostree-repo-pull.c
@@ -420,7 +420,7 @@ scan_dirtree_object (OtPullData   *pull_data,
       const char *filename;
       gboolean file_is_stored;
       gs_unref_variant GVariant *csum = NULL;
-      gs_free char *file_checksum;
+      gs_free char *file_checksum = NULL;
 
       g_variant_get_child (files_variant, i, "(&s ay)", &filename, &csum);
 


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