mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-09 22:39:38 +00:00
tests: make a few globals statics
ld was warning that the size of path changed, rightly so.
This commit is contained in:
parent
6481e06258
commit
cfd16ca28e
@ -1,8 +1,8 @@
|
||||
#include "clar_libgit2.h"
|
||||
#include "netops.h"
|
||||
|
||||
char *host, *port, *path, *user, *pass;
|
||||
gitno_connection_data conndata;
|
||||
static char *host, *port, *path, *user, *pass;
|
||||
static gitno_connection_data conndata;
|
||||
|
||||
void test_network_urlparse__initialize(void)
|
||||
{
|
||||
|
@ -2,7 +2,7 @@
|
||||
#include "fileops.h"
|
||||
#include <ctype.h>
|
||||
|
||||
git_buf path = GIT_BUF_INIT;
|
||||
static git_buf path = GIT_BUF_INIT;
|
||||
|
||||
void test_repo_config__initialize(void)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user