[ostree/wip/delta2: 18/21] core: Fix uninitialized variable
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ostree/wip/delta2: 18/21] core: Fix uninitialized variable
- Date: Sun, 4 May 2014 20:56:15 +0000 (UTC)
commit 550048c82a2a25fce80711e8681d4ed3380dc6d2
Author: Colin Walters <walters verbum org>
Date: Sun Apr 27 23:23:30 2014 -0400
core: Fix uninitialized variable
src/libostree/ostree-core.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/libostree/ostree-core.c b/src/libostree/ostree-core.c
index a5797e3..5de751f 100644
--- a/src/libostree/ostree-core.c
+++ b/src/libostree/ostree-core.c
@@ -1775,7 +1775,7 @@ GVariant *
_ostree_detached_metadata_append_gpg_sig (GVariant *existing_metadata,
GBytes *signature_bytes)
{
- GVariantBuilder *builder;
+ GVariantBuilder *builder = NULL;
gs_unref_variant GVariant *signaturedata = NULL;
gs_unref_variant_builder GVariantBuilder *signature_builder = NULL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]