summaryrefslogtreecommitdiff
path: root/src/commit.c
diff options
context:
space:
mode:
authorStefan Widgren <stefan.widgren@gmail.com>2015-02-15 21:07:05 +0100
committerStefan Widgren <stefan.widgren@gmail.com>2015-02-15 21:07:05 +0100
commitc8e02b8776875e6372fc5eba8fc61c51f14f3392 (patch)
treeeb40ab7640394c68333ec670123b4a04f71dce70 /src/commit.c
parenta291790a8d42579dafe8684151931847921a9578 (diff)
downloadlibgit2-c8e02b8776875e6372fc5eba8fc61c51f14f3392.tar.gz
Remove extra semicolon outside of a function
Without this change, compiling with gcc and pedantic generates warning: ISO C does not allow extra ‘;’ outside of a function.
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 78c4b9de3..beb2c64c3 100644
--- a/src/commit.c
+++ b/src/commit.c
@@ -400,7 +400,7 @@ GIT_COMMIT_GETTER(const char *, raw_header, commit->raw_header)
GIT_COMMIT_GETTER(git_time_t, time, commit->committer->when.time)
GIT_COMMIT_GETTER(int, time_offset, commit->committer->when.offset)
GIT_COMMIT_GETTER(unsigned int, parentcount, (unsigned int)git_array_size(commit->parent_ids))
-GIT_COMMIT_GETTER(const git_oid *, tree_id, &commit->tree_id);
+GIT_COMMIT_GETTER(const git_oid *, tree_id, &commit->tree_id)
const char *git_commit_message(const git_commit *commit)
{