Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Widgren <stefan.widgren@gmail.com>2015-07-31 17:23:11 +0300
committerStefan Widgren <stefan.widgren@gmail.com>2015-07-31 17:23:11 +0300
commitc369b37919114f4976b7a06107506e95916e5dd0 (patch)
tree7b21b77b787ee7c734b8ec80034530ec056fa96c
parent9d4b7d25241ca9deb85d128de21fd5ba35e21d28 (diff)
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.
-rw-r--r--src/describe.c2
-rw-r--r--src/indexer.c2
-rw-r--r--src/pack-objects.c2
-rw-r--r--src/pack.c4
-rw-r--r--src/revwalk.c2
5 files changed, 6 insertions, 6 deletions
diff --git a/src/describe.c b/src/describe.c
index 5aea927c1..48f04e858 100644
--- a/src/describe.c
+++ b/src/describe.c
@@ -19,7 +19,7 @@
#include "vector.h"
#include "repository.h"
-GIT__USE_OIDMAP;
+GIT__USE_OIDMAP
/* Ported from https://github.com/git/git/blob/89dde7882f71f846ccd0359756d27bebc31108de/builtin/describe.c */
diff --git a/src/indexer.c b/src/indexer.c
index 512addf48..9aa092556 100644
--- a/src/indexer.c
+++ b/src/indexer.c
@@ -18,7 +18,7 @@
#include "oidmap.h"
#include "zstream.h"
-GIT__USE_OIDMAP;
+GIT__USE_OIDMAP
extern git_mutex git__mwindow_mutex;
diff --git a/src/pack-objects.c b/src/pack-objects.c
index e287e3306..c4c061a3a 100644
--- a/src/pack-objects.c
+++ b/src/pack-objects.c
@@ -41,7 +41,7 @@ struct pack_write_context {
git_transfer_progress *stats;
};
-GIT__USE_OIDMAP;
+GIT__USE_OIDMAP
#ifdef GIT_THREADS
diff --git a/src/pack.c b/src/pack.c
index cd6526721..45dd4d5be 100644
--- a/src/pack.c
+++ b/src/pack.c
@@ -16,8 +16,8 @@
#include <zlib.h>
-GIT__USE_OFFMAP;
-GIT__USE_OIDMAP;
+GIT__USE_OFFMAP
+GIT__USE_OIDMAP
static int packfile_open(struct git_pack_file *p);
static git_off_t nth_packed_object_offset(const struct git_pack_file *p, uint32_t n);
diff --git a/src/revwalk.c b/src/revwalk.c
index 6acc5d034..dcdd97915 100644
--- a/src/revwalk.c
+++ b/src/revwalk.c
@@ -14,7 +14,7 @@
#include "git2/revparse.h"
#include "merge.h"
-GIT__USE_OIDMAP;
+GIT__USE_OIDMAP
git_commit_list_node *git_revwalk__commit_lookup(
git_revwalk *walk, const git_oid *oid)