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:
diego 2008-01-23 11:18:58 +00:00
parent e68f2215aa
commit 57d162c7a5
1 changed files with 4 additions and 0 deletions

View File

@ -183,6 +183,7 @@ void free_registry(void)
}
#if 0
static reg_handle_t* find_handle_by_name(const char* name)
{
reg_handle_t* t;
@ -195,6 +196,7 @@ static reg_handle_t* find_handle_by_name(const char* name)
}
return 0;
}
#endif
static struct reg_value* find_value_by_name(const char* name)
{
int i;
@ -313,6 +315,7 @@ static void init_registry(void)
insert_handle(HKEY_CURRENT_USER, "HKCU");
}
#if 0
static reg_handle_t* find_handle_2(long key, const char* subkey)
{
char* full_name;
@ -332,6 +335,7 @@ static reg_handle_t* find_handle_2(long key, const char* subkey)
free(full_name);
return t;
}
#endif
long __stdcall RegOpenKeyExA(long key, const char* subkey, long reserved, long access, int* newkey)
{