mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-29 15:10:02 +00:00
Fix compiler warning in commit.c
This commit is contained in:
parent
1081d90945
commit
69f0295c80
@ -173,7 +173,7 @@ int commit_parse_buffer(git_commit *commit, void *data, size_t len, unsigned int
|
|||||||
buffer++;
|
buffer++;
|
||||||
|
|
||||||
if (parse_flags & COMMIT_FULL_PARSE && buffer < buffer_end) {
|
if (parse_flags & COMMIT_FULL_PARSE && buffer < buffer_end) {
|
||||||
char *line_end;
|
const char *line_end;
|
||||||
size_t message_len = buffer_end - buffer;
|
size_t message_len = buffer_end - buffer;
|
||||||
|
|
||||||
/* Long message */
|
/* Long message */
|
||||||
|
Loading…
Reference in New Issue
Block a user