mirror of
https://github.com/mpv-player/mpv
synced 2025-01-16 22:37:28 +01:00
Disable unused functions find_handle_2, find_handle_by_name, fixes the warning:
registry.c:317: warning: 'find_handle_2' defined but not used git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25835 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
e68f2215aa
commit
57d162c7a5
@ -183,6 +183,7 @@ void free_registry(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#if 0
|
||||||
static reg_handle_t* find_handle_by_name(const char* name)
|
static reg_handle_t* find_handle_by_name(const char* name)
|
||||||
{
|
{
|
||||||
reg_handle_t* t;
|
reg_handle_t* t;
|
||||||
@ -195,6 +196,7 @@ static reg_handle_t* find_handle_by_name(const char* name)
|
|||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
static struct reg_value* find_value_by_name(const char* name)
|
static struct reg_value* find_value_by_name(const char* name)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
@ -313,6 +315,7 @@ static void init_registry(void)
|
|||||||
insert_handle(HKEY_CURRENT_USER, "HKCU");
|
insert_handle(HKEY_CURRENT_USER, "HKCU");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if 0
|
||||||
static reg_handle_t* find_handle_2(long key, const char* subkey)
|
static reg_handle_t* find_handle_2(long key, const char* subkey)
|
||||||
{
|
{
|
||||||
char* full_name;
|
char* full_name;
|
||||||
@ -332,6 +335,7 @@ static reg_handle_t* find_handle_2(long key, const char* subkey)
|
|||||||
free(full_name);
|
free(full_name);
|
||||||
return t;
|
return t;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
long __stdcall RegOpenKeyExA(long key, const char* subkey, long reserved, long access, int* newkey)
|
long __stdcall RegOpenKeyExA(long key, const char* subkey, long reserved, long access, int* newkey)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user