Mercurial > mplayer.hg
comparison TOOLS/modify_reg.c @ 24180:73aafdcc92fc
warning fix:
modify_reg.c: In function 'remove_key':
modify_reg.c:39: warning: unused variable 'tmp_name'
modify_reg.c:39: warning: unused variable 'tmp_val'
author | diego |
---|---|
date | Sat, 25 Aug 2007 17:39:15 +0000 |
parents | f579fc609048 |
children | 1ca484e74f18 |
comparison
equal
deleted
inserted
replaced
24179:bcd2f9d635b2 | 24180:73aafdcc92fc |
---|---|
34 | 34 |
35 #include "get_path.c" | 35 #include "get_path.c" |
36 | 36 |
37 static void remove_key(long handle, const char* name) { | 37 static void remove_key(long handle, const char* name) { |
38 int i, len; | 38 int i, len; |
39 char *fullname, *tmp_val, *tmp_name; | 39 char *fullname; |
40 | 40 |
41 fullname = build_keyname(handle, name); | 41 fullname = build_keyname(handle, name); |
42 len = strlen(fullname); | 42 len = strlen(fullname); |
43 for (i=0; i < reg_size;) { | 43 for (i=0; i < reg_size;) { |
44 if (!strncmp(regs[i].name, fullname, len)) { | 44 if (!strncmp(regs[i].name, fullname, len)) { |