mirror of
https://github.com/mpv-player/mpv
synced 2025-01-18 13:14:36 +00:00
Remove unused function fixup_address, fixes the warning:
pe_image.c:957: warning: 'fixup_address' defined but not used git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25832 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
f6031d6305
commit
7304096f87
@ -952,15 +952,3 @@ WIN_BOOL PE_InitDLL( WINE_MODREF *wm, DWORD type, LPVOID lpReserved )
|
||||
|
||||
return retv;
|
||||
}
|
||||
|
||||
static LPVOID
|
||||
fixup_address(PIMAGE_OPTIONAL_HEADER opt,int delta,LPVOID addr) {
|
||||
if ( ((DWORD)addr>opt->ImageBase) &&
|
||||
((DWORD)addr<opt->ImageBase+opt->SizeOfImage)
|
||||
)
|
||||
|
||||
return (LPVOID)(((DWORD)addr)+delta);
|
||||
else
|
||||
|
||||
return addr;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user