summaryrefslogtreecommitdiff
path: root/src/commit.c
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@elego.de>2011-05-17 12:12:59 +0200
committerCarlos Martín Nieto <cmn@elego.de>2011-05-17 12:12:59 +0200
commit94711cad3b83445dfcf45a6e0b29b045e06a29f6 (patch)
treec0b5560d53aac94756a4d9759fdcf25f1582c40f /src/commit.c
parentc0335005495c1b49986d19031557f9df6bf49922 (diff)
parent335d6c998041f7c44dce48d3bb087c52136d970f (diff)
downloadlibgit2-94711cad3b83445dfcf45a6e0b29b045e06a29f6.tar.gz
Merge upstream/development
Diffstat (limited to 'src/commit.c')
-rw-r--r--src/commit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commit.c b/src/commit.c
index 0c37ec59b..54d7a47fe 100644
--- a/src/commit.c
+++ b/src/commit.c
@@ -286,7 +286,7 @@ int commit_parse_buffer(git_commit *commit, const void *data, size_t len)
if (buffer < buffer_end) {
const char *line_end;
- size_t message_len = buffer_end - buffer;
+ size_t message_len;
/* Long message */
message_len = buffer_end - buffer;