mirror of https://github.com/mpv-player/mpv
warning fixes:
registry.c: In function 'insert_reg_value': registry.c:266: warning: unused variable 't' registry.c: In function 'RegSetValueExA': registry.c:491: warning: unused variable 't' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24407 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
ca743e59fd
commit
3f522888be
|
@ -263,7 +263,6 @@ static char* build_keyname(long key, const char* subkey)
|
|||
}
|
||||
static struct reg_value* insert_reg_value(int handle, const char* name, int type, const void* value, int len)
|
||||
{
|
||||
reg_handle_t* t;
|
||||
struct reg_value* v;
|
||||
char* fullname;
|
||||
if((fullname=build_keyname(handle, name))==NULL)
|
||||
|
@ -488,7 +487,6 @@ long __stdcall RegEnumValueA(HKEY hkey, DWORD index, LPSTR value, LPDWORD val_co
|
|||
|
||||
long __stdcall RegSetValueExA(long key, const char* name, long v1, long v2, const void* data, long size)
|
||||
{
|
||||
struct reg_value* t;
|
||||
char* c;
|
||||
TRACE("Request to set value %s %d\n", name, *(const int*)data);
|
||||
if(!regs)
|
||||
|
|
Loading…
Reference in New Issue