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:
Stefan Widgren 2015-07-31 16:23:11 +02:00 committed by Carlos Martín Nieto
parent e5a7724969
commit a299d0af1b
5 changed files with 6 additions and 6 deletions

View File

@ -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 */

View File

@ -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;

View File

@ -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

View File

@ -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);

View File

@ -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)