# HG changeset patch # User diego # Date 1201087138 0 # Node ID 3cd1d60e7225485f045a65c2d7016ff9e5d4a592 # Parent 65e036ab9d8387fec91ed84a9405a8b5babbcedd Disable unused functions find_handle_2, find_handle_by_name, fixes the warning: registry.c:317: warning: 'find_handle_2' defined but not used diff -r 65e036ab9d83 -r 3cd1d60e7225 loader/registry.c --- 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) {