mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-17 11:19:01 +00:00
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.
This commit is contained in:
parent
e5a7724969
commit
a299d0af1b
@ -19,7 +19,7 @@
|
|||||||
#include "vector.h"
|
#include "vector.h"
|
||||||
#include "repository.h"
|
#include "repository.h"
|
||||||
|
|
||||||
GIT__USE_OIDMAP;
|
GIT__USE_OIDMAP
|
||||||
|
|
||||||
/* Ported from https://github.com/git/git/blob/89dde7882f71f846ccd0359756d27bebc31108de/builtin/describe.c */
|
/* Ported from https://github.com/git/git/blob/89dde7882f71f846ccd0359756d27bebc31108de/builtin/describe.c */
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
#include "oidmap.h"
|
#include "oidmap.h"
|
||||||
#include "zstream.h"
|
#include "zstream.h"
|
||||||
|
|
||||||
GIT__USE_OIDMAP;
|
GIT__USE_OIDMAP
|
||||||
|
|
||||||
extern git_mutex git__mwindow_mutex;
|
extern git_mutex git__mwindow_mutex;
|
||||||
|
|
||||||
|
@ -41,7 +41,7 @@ struct pack_write_context {
|
|||||||
git_transfer_progress *stats;
|
git_transfer_progress *stats;
|
||||||
};
|
};
|
||||||
|
|
||||||
GIT__USE_OIDMAP;
|
GIT__USE_OIDMAP
|
||||||
|
|
||||||
#ifdef GIT_THREADS
|
#ifdef GIT_THREADS
|
||||||
|
|
||||||
|
@ -16,8 +16,8 @@
|
|||||||
|
|
||||||
#include <zlib.h>
|
#include <zlib.h>
|
||||||
|
|
||||||
GIT__USE_OFFMAP;
|
GIT__USE_OFFMAP
|
||||||
GIT__USE_OIDMAP;
|
GIT__USE_OIDMAP
|
||||||
|
|
||||||
static int packfile_open(struct git_pack_file *p);
|
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);
|
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 "git2/revparse.h"
|
||||||
#include "merge.h"
|
#include "merge.h"
|
||||||
|
|
||||||
GIT__USE_OIDMAP;
|
GIT__USE_OIDMAP
|
||||||
|
|
||||||
git_commit_list_node *git_revwalk__commit_lookup(
|
git_commit_list_node *git_revwalk__commit_lookup(
|
||||||
git_revwalk *walk, const git_oid *oid)
|
git_revwalk *walk, const git_oid *oid)
|
||||||
|
Loading…
Reference in New Issue
Block a user