]> asedeno.scripts.mit.edu Git - git.git/blobdiff - builtin-remote.c
Sync with GIT 1.6.2.1
[git.git] / builtin-remote.c
index ac69d37c8af415a64cba88a888e9b80db95ef97a..e171096ece8cd041f7e6a08ca80af444786b50cc 100644 (file)
@@ -484,9 +484,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))