setup_traverse_info(): stop copying oid
[gitweb.git] / pkt-line.c
index c9ed780d0be02aa111786d500cd4eea2cc7ccd25..a0e87b1e81408e17b4bb8e99bc162b6e7bce4012 100644 (file)
@@ -119,7 +119,7 @@ void packet_buf_delim(struct strbuf *buf)
        strbuf_add(buf, "0001", 4);
 }
 
-void set_packet_header(char *buf, const int size)
+void set_packet_header(char *buf, int size)
 {
        static char hexchar[] = "0123456789abcdef";