mirror of
https://github.com/mpv-player/mpv
synced 2025-01-02 21:12:23 +00:00
Surround variable declarations by preprocessor conditionals to avoid warnings:
module.c:143: warning: unused variable 'typeName' module.c:948: warning: unused variable 'err' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25826 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
67ce080c24
commit
92c4228db1
@ -140,8 +140,11 @@ static WIN_BOOL MODULE_InitDll( WINE_MODREF *wm, DWORD type, LPVOID lpReserved )
|
||||
{
|
||||
WIN_BOOL retv = TRUE;
|
||||
|
||||
#ifdef DEBUG
|
||||
static LPCSTR typeName[] = { "PROCESS_DETACH", "PROCESS_ATTACH",
|
||||
"THREAD_ATTACH", "THREAD_DETACH" };
|
||||
#endif
|
||||
|
||||
assert( wm );
|
||||
|
||||
|
||||
@ -945,7 +948,9 @@ static int report_func(void *stack_base, int stack_size, reg386_t *reg, uint32_t
|
||||
static int report_func_ret(void *stack_base, int stack_size, reg386_t *reg, uint32_t *flags)
|
||||
{
|
||||
//int i;
|
||||
#ifdef DEBUG_QTX_API
|
||||
short err;
|
||||
#endif
|
||||
|
||||
// restore ret addr:
|
||||
--ret_i;
|
||||
|
Loading…
Reference in New Issue
Block a user