MinGW: implement mmap
[gitweb.git] / builtin-remote.c
index 7b31e554e97c320562ab3c03c3de140e69cffb37..e445b8ba38372f538e618578548fc765a9ec7d17 100644 (file)
@@ -616,9 +616,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))