summaryrefslogtreecommitdiff
path: root/src/ostree/ot-builtin-show.c
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@gmail.com>2013-08-30 10:32:37 +0200
committerColin Walters <walters@verbum.org>2013-08-30 14:23:45 -0400
commited56908ccb10dc3f9f2f209aba462cd4536368cf (patch)
tree110eae30b9eac74dc9255483009c64c9bc24c491 /src/ostree/ot-builtin-show.c
parent4cdd444dcfa031f11361d21e0f5b7f047ca50207 (diff)
downloadostree-ed56908ccb10dc3f9f2f209aba462cd4536368cf.tar.gz
Fix warnings about unused variables
Diffstat (limited to 'src/ostree/ot-builtin-show.c')
-rw-r--r--src/ostree/ot-builtin-show.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/ostree/ot-builtin-show.c b/src/ostree/ot-builtin-show.c
index b7f2138e..c98000bf 100644
--- a/src/ostree/ot-builtin-show.c
+++ b/src/ostree/ot-builtin-show.c
@@ -224,7 +224,6 @@ ostree_builtin_show (int argc, char **argv, OstreeRepo *repo, GCancellable *canc
gboolean found = FALSE;
if (!ostree_validate_checksum_string (rev, NULL))
{
- gs_unref_variant GVariant *variant = NULL;
if (!ostree_repo_resolve_rev (repo, rev, FALSE, &resolved_rev, error))
goto out;
if (!print_object (repo, OSTREE_OBJECT_TYPE_COMMIT, resolved_rev, error))