peel_onion: do not assume length of x_type globals
[gitweb.git] / http-push.c
index 395a8cfc1055fb6febc9cee559d8943bb4d9e829..6dad188b5f31d47fdce86e5104aa3c6b899ebed7 100644 (file)
@@ -663,7 +663,7 @@ static void add_fetch_request(struct object *obj)
 
 static int add_send_request(struct object *obj, struct remote_lock *lock)
 {
-       struct transfer_request *request = request_queue_head;
+       struct transfer_request *request;
        struct packed_git *target;
 
        /* Keep locks active */