summaryrefslogtreecommitdiff
path: root/src/ostree/ot-remote-builtin-add.c
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2016-10-25 13:06:36 -0400
committerAtomic Bot <atomic-devel@projectatomic.io>2016-10-27 17:02:01 +0000
commitb77edf24a3afb7a26b40a8adfd81e88ce8d42182 (patch)
tree9e22231431abd091c8cba630760841300d38d539 /src/ostree/ot-remote-builtin-add.c
parent82a4f56593207b2f8a5e6620e64d9c3fa65fbfcf (diff)
downloadostree-b77edf24a3afb7a26b40a8adfd81e88ce8d42182.tar.gz
tree-wide: Remove unused variables detected by CLang
CLang finds these, whereas GCC treats having `__attribute__((cleanup))` as a use. This obsoletes https://github.com/ostreedev/ostree/pull/411 Closes: #548 Approved by: jlebon
Diffstat (limited to 'src/ostree/ot-remote-builtin-add.c')
-rw-r--r--src/ostree/ot-remote-builtin-add.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/ostree/ot-remote-builtin-add.c b/src/ostree/ot-remote-builtin-add.c
index 76b0c75a..6e83b2af 100644
--- a/src/ostree/ot-remote-builtin-add.c
+++ b/src/ostree/ot-remote-builtin-add.c
@@ -49,8 +49,6 @@ ot_remote_builtin_add (int argc, char **argv, GCancellable *cancellable, GError
const char *remote_name;
const char *remote_url;
char **iter;
- g_autofree char *target_name = NULL;
- g_autoptr(GFile) target_conf = NULL;
g_autoptr(GVariantBuilder) optbuilder = NULL;
gboolean ret = FALSE;