Unverified Commit cefe6c45 by Edward Thomson Committed by GitHub

Merge pull request #6480 from libgit2/ethomson/warn

Fix some warnings in main
parents bf2f44d6 b8fff35a
......@@ -135,7 +135,8 @@ static ssize_t socket_write(git_stream *stream, const char *data, size_t len, in
git_socket_stream *st = (git_socket_stream *) stream;
ssize_t written;
assert(flags == 0);
GIT_ASSERT(flags == 0);
GIT_UNUSED(flags);
errno = 0;
......
......@@ -3,7 +3,7 @@
#include "sysdir.h"
#include <ctype.h>
git_repository *repo;
static git_repository *repo;
void test_repo_extensions__initialize(void)
{
......
......@@ -4,8 +4,8 @@
#include "repository.h"
#include <ctype.h>
git_repository *repo;
git_config *config;
static git_repository *repo;
static git_config *config;
void test_repo_objectformat__initialize(void)
{
......
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