Commit 19aa8416 by Sven Strickroth

Silence MinGW warnings

Signed-off-by: Sven Strickroth <email@cs-ware.de>
parent dee18b82
...@@ -24,6 +24,7 @@ struct git_config { ...@@ -24,6 +24,7 @@ struct git_config {
}; };
extern int git_config_find_global_r(git_buf *global_config_path); 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_find_system_r(git_buf *system_config_path);
extern int git_config_parse_bool(int *out, const char *bool_string); extern int git_config_parse_bool(int *out, const char *bool_string);
......
...@@ -469,7 +469,7 @@ nullterm: ...@@ -469,7 +469,7 @@ nullterm:
return (orgsrc != src) ? (wchar_t *)src : NULL; 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; wchar_t * env = NULL;
struct win32_path root; struct win32_path root;
...@@ -502,7 +502,7 @@ int win32_find_system_file_using_path(git_buf *path, const char *filename) ...@@ -502,7 +502,7 @@ int win32_find_system_file_using_path(git_buf *path, const char *filename)
return GIT_ENOTFOUND; 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 #ifndef _WIN64
#define REG_MSYSGIT_INSTALL L"SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\Git_is1" #define REG_MSYSGIT_INSTALL L"SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\Git_is1"
......
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