* hookapi.cc (find_first_notloaded_dll): Remove unused assignment of
importRVASize found by Clang.
This commit is contained in:
parent
0bdf68577d
commit
226133e80c
|
@ -1,3 +1,8 @@
|
|||
2012-07-04 Christopher Faylor <me.cygwin2012@cgf.cx>
|
||||
|
||||
* hookapi.cc (find_first_notloaded_dll): Remove unused assignment of
|
||||
importRVASize found by Clang.
|
||||
|
||||
2012-07-04 Christopher Faylor <me.cygwin2012@cgf.cx>
|
||||
|
||||
* fhandler_tty.cc (fhandler_pty_slave::read): Remove duplicate
|
||||
|
|
|
@ -215,10 +215,8 @@ find_first_notloaded_dll (path_conv& pc)
|
|||
if (pExeNTHdr)
|
||||
{
|
||||
DWORD importRVA;
|
||||
DWORD importRVASize;
|
||||
DWORD importRVAMaxSize;
|
||||
importRVA = pExeNTHdr->OptionalHeader.DataDirectory[IMAGE_DIRECTORY_ENTRY_IMPORT].VirtualAddress;
|
||||
importRVASize = pExeNTHdr->OptionalHeader.DataDirectory[IMAGE_DIRECTORY_ENTRY_IMPORT].Size;
|
||||
if (importRVA)
|
||||
{
|
||||
long delta = rvadelta (pExeNTHdr, importRVA, importRVAMaxSize);
|
||||
|
|
Loading…
Reference in New Issue