ls-remote: Drop unused variable

Signed-off-by: Philip Withnall <withnall@endlessm.com>
This commit is contained in:
Philip Withnall
2017-06-06 20:09:07 +01:00
parent 95106a34d5
commit 9ef301beeb

View File

@@ -174,7 +174,6 @@ flatpak_builtin_ls_remote (int argc, char **argv, GCancellable *cancellable, GEr
{
g_autofree char *prefix_partial_ref = NULL;
char *last_dot = strrchr (parts[1], '.');
g_autofree char *prefix = NULL;
*last_dot = 0;
prefix_partial_ref = g_strconcat (parts[1], "/", parts[2], "/", parts[3], NULL);