]> git.ipfire.org Git - thirdparty/git.git/blobdiff - builtin-remote.c
Merge branch 'xx/db-refspec-vs-js-remote'
[thirdparty/git.git] / builtin-remote.c
index 3e4a41b11bbb5b30bec52b239708ad244fa95b88..993acd6a09869e23b3f8e67f0dddbddc946e6c5f 100644 (file)
@@ -608,9 +608,8 @@ static int mv(int argc, const char **argv)
                struct string_list_item *item = remote_branches.items + i;
                int flag = 0;
                unsigned char sha1[20];
-               const char *symref;
 
-               symref = resolve_ref(item->string, sha1, 1, &flag);
+               resolve_ref(item->string, sha1, 1, &flag);
                if (!(flag & REF_ISSYMREF))
                        continue;
                if (delete_ref(item->string, NULL, REF_NODEREF))