Make clear_commit_marks() clean harder
[gitweb.git] / upload-pack.c
index 7b86f6965b5306f2162a9076f6ab3bbc1cc32a4b..2b70c3dcb4e3b1e73d7d5a088ae73de17540b6b7 100644 (file)
@@ -95,8 +95,8 @@ static void create_pack_file(void)
                int i;
                int args;
                const char **argv;
+               const char **p;
                char *buf;
-               char **p;
 
                if (create_full_pack) {
                        args = 10;
@@ -441,7 +441,7 @@ static int receive_needs(void)
 
 static int send_ref(const char *refname, const unsigned char *sha1)
 {
-       static char *capabilities = "multi_ack thin-pack side-band";
+       static const char *capabilities = "multi_ack thin-pack side-band";
        struct object *o = parse_object(sha1);
 
        if (!o)