mirror of
https://git.proxmox.com/git/libgit2
synced 2025-08-05 04:11:49 +00:00
Silence MinGW warnings
Signed-off-by: Sven Strickroth <email@cs-ware.de>
This commit is contained in:
parent
dee18b825a
commit
19aa8416e5
@ -24,6 +24,7 @@ struct git_config {
|
||||
};
|
||||
|
||||
extern int git_config_find_global_r(git_buf *global_config_path);
|
||||
extern int git_config_find_xdr_r(git_buf *system_config_path);
|
||||
extern int git_config_find_system_r(git_buf *system_config_path);
|
||||
|
||||
extern int git_config_parse_bool(int *out, const char *bool_string);
|
||||
|
@ -469,7 +469,7 @@ nullterm:
|
||||
return (orgsrc != src) ? (wchar_t *)src : NULL;
|
||||
}
|
||||
|
||||
int win32_find_system_file_using_path(git_buf *path, const char *filename)
|
||||
static int win32_find_system_file_using_path(git_buf *path, const char *filename)
|
||||
{
|
||||
wchar_t * env = NULL;
|
||||
struct win32_path root;
|
||||
@ -502,7 +502,7 @@ int win32_find_system_file_using_path(git_buf *path, const char *filename)
|
||||
return GIT_ENOTFOUND;
|
||||
}
|
||||
|
||||
int win32_find_system_file_using_registry(git_buf *path, const char *filename)
|
||||
static int win32_find_system_file_using_registry(git_buf *path, const char *filename)
|
||||
{
|
||||
#ifndef _WIN64
|
||||
#define REG_MSYSGIT_INSTALL L"SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\Git_is1"
|
||||
|
Loading…
Reference in New Issue
Block a user