[staticanalysis]: Fix two uses of uninitialized variables
https://bugzilla.gnome.org/show_bug.cgi?id=732020
This commit is contained in:
parent
7b654a88d4
commit
d7067975e7
|
|
@ -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 ();
|
||||
|
||||
|
|
|
|||
|
|
@ -1888,7 +1888,7 @@ ostree_repo_sign_commit (OstreeRepo *self,
|
|||
gs_unref_object GOutputStream *tmp_signature_output = NULL;
|
||||
gs_unref_variant GVariant *commit_variant = NULL;
|
||||
gs_unref_bytes GBytes *signature_bytes = NULL;
|
||||
gpgme_ctx_t context;
|
||||
gpgme_ctx_t context = NULL;
|
||||
gpgme_engine_info_t info;
|
||||
gpgme_error_t err;
|
||||
gpgme_key_t key = NULL;
|
||||
|
|
|
|||
Loading…
Reference in New Issue