Mercurial > mplayer.hg
changeset 25807:3cd1d60e7225
Disable unused functions find_handle_2, find_handle_by_name, fixes the warning:
registry.c:317: warning: 'find_handle_2' defined but not used
author | diego |
---|---|
date | Wed, 23 Jan 2008 11:18:58 +0000 |
parents | 65e036ab9d83 |
children | c826db201135 |
files | loader/registry.c |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/loader/registry.c Wed Jan 23 11:16:18 2008 +0000 +++ b/loader/registry.c Wed Jan 23 11:18:58 2008 +0000 @@ -183,6 +183,7 @@ } +#if 0 static reg_handle_t* find_handle_by_name(const char* name) { reg_handle_t* t; @@ -195,6 +196,7 @@ } return 0; } +#endif static struct reg_value* find_value_by_name(const char* name) { int i; @@ -313,6 +315,7 @@ 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 @@ free(full_name); return t; } +#endif long __stdcall RegOpenKeyExA(long key, const char* subkey, long reserved, long access, int* newkey) {