From c8e02b8776875e6372fc5eba8fc61c51f14f3392 Mon Sep 17 00:00:00 2001 From: Stefan Widgren Date: Sun, 15 Feb 2015 21:07:05 +0100 Subject: Remove extra semicolon outside of a function MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Without this change, compiling with gcc and pedantic generates warning: ISO C does not allow extra ‘;’ outside of a function. --- src/commit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/commit.c') 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) { -- cgit v1.2.1