diff options
author | Colin Walters <walters@verbum.org> | 2013-10-15 16:41:07 -0400 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2013-10-15 16:44:19 -0400 |
commit | 7c903eb8892413110f645387c66ab7556a6f75f1 (patch) | |
tree | a49bc0dd80a3c1eab3c5b56566e3118b216bc592 | |
parent | 6500026ba7ca51d41c5c624247b9d064b2ca97e7 (diff) | |
download | ostree-7c903eb8892413110f645387c66ab7556a6f75f1.tar.gz |
repo: Remove set-but-unused variable
The gpgme examples use this, but from what I can tell we don't really
need to because we don't need detailed results; we only care whether
we signed it at all.
-rw-r--r-- | src/libostree/ostree-repo.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/libostree/ostree-repo.c b/src/libostree/ostree-repo.c index ebc10f28..34bd1e88 100644 --- a/src/libostree/ostree-repo.c +++ b/src/libostree/ostree-repo.c @@ -1502,7 +1502,6 @@ ostree_repo_sign_commit (OstreeRepo *self, gpgme_data_t commit_buffer = NULL; gpgme_data_t signature_buffer = NULL; int signature_fd = -1; - gpgme_sign_result_t result; GMappedFile *signature_file = NULL; if (!ostree_repo_load_variant (self, OSTREE_OBJECT_TYPE_COMMIT, @@ -1595,8 +1594,6 @@ ostree_repo_sign_commit (OstreeRepo *self, goto out; } - result = gpgme_op_sign_result (context); - if (!g_output_stream_close (tmp_signature_output, cancellable, error)) goto out; |