Mercurial > mplayer.hg
changeset 25804:6ff35fe7e9bd
Remove unused function fixup_address, fixes the warning:
pe_image.c:957: warning: 'fixup_address' defined but not used
author | diego |
---|---|
date | Wed, 23 Jan 2008 11:12:47 +0000 |
parents | 3aa3b6f0c4e3 |
children | 953318dc3c7c |
files | loader/pe_image.c |
diffstat | 1 files changed, 0 insertions(+), 12 deletions(-) [+] |
line wrap: on
line diff
--- a/loader/pe_image.c Wed Jan 23 11:11:32 2008 +0000 +++ b/loader/pe_image.c Wed Jan 23 11:12:47 2008 +0000 @@ -952,15 +952,3 @@ 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; -}