find-remotes: Fix unused variable warnings

Closes: #1605
Approved by: cgwalters
This commit is contained in:
Matthew Leeds 2018-05-25 18:01:35 -07:00 committed by Atomic Bot
parent 7412e65f7d
commit 6ec19a6953
1 changed files with 2 additions and 1 deletions

View File

@ -179,14 +179,15 @@ ostree_builtin_find_remotes (int argc,
g_autoptr(GPtrArray) finders = NULL; /* (element-type OstreeRepoFinder) */
g_autoptr(OstreeRepoFinder) finder_config = NULL;
g_autoptr(OstreeRepoFinder) finder_mount = NULL;
#ifdef HAVE_AVAHI
g_autoptr(OstreeRepoFinder) finder_avahi = NULL;
#endif /* HAVE_AVAHI */
g_autoptr(OstreeAsyncProgress) progress = NULL;
gsize i;
g_autoptr(GAsyncResult) find_result = NULL, pull_result = NULL;
g_auto(OstreeRepoFinderResultv) results = NULL;
g_auto(GLnxConsoleRef) console = { 0, };
g_autoptr(GHashTable) refs_found = NULL; /* set (element-type OstreeCollectionRef) */
g_auto(GStrv) finders_strings = NULL;
context = g_option_context_new ("COLLECTION-ID REF [COLLECTION-ID REF...]");