Without this change, compiling with gcc and pedantic generates warning:
ISO C does not allow extra ‘;’ outside of a function.
#include "vector.h"
#include "repository.h"
-GIT__USE_OIDMAP;
+GIT__USE_OIDMAP
/* Ported from https://github.com/git/git/blob/89dde7882f71f846ccd0359756d27bebc31108de/builtin/describe.c */
#include "oidmap.h"
#include "zstream.h"
-GIT__USE_OIDMAP;
+GIT__USE_OIDMAP
extern git_mutex git__mwindow_mutex;
git_transfer_progress *stats;
};
-GIT__USE_OIDMAP;
+GIT__USE_OIDMAP
#ifdef GIT_THREADS
#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);
#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)