Commit c369b379 by Stefan Widgren

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.
parent 9d4b7d25
......@@ -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 */
......
......@@ -18,7 +18,7 @@
#include "oidmap.h"
#include "zstream.h"
GIT__USE_OIDMAP;
GIT__USE_OIDMAP
extern git_mutex git__mwindow_mutex;
......
......@@ -41,7 +41,7 @@ struct pack_write_context {
git_transfer_progress *stats;
};
GIT__USE_OIDMAP;
GIT__USE_OIDMAP
#ifdef GIT_THREADS
......
......@@ -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);
......
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment