* 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>
|
2012-07-04 Christopher Faylor <me.cygwin2012@cgf.cx>
|
||||||
|
|
||||||
* fhandler_tty.cc (fhandler_pty_slave::read): Remove duplicate
|
* fhandler_tty.cc (fhandler_pty_slave::read): Remove duplicate
|
||||||
|
|
|
@ -215,10 +215,8 @@ find_first_notloaded_dll (path_conv& pc)
|
||||||
if (pExeNTHdr)
|
if (pExeNTHdr)
|
||||||
{
|
{
|
||||||
DWORD importRVA;
|
DWORD importRVA;
|
||||||
DWORD importRVASize;
|
|
||||||
DWORD importRVAMaxSize;
|
DWORD importRVAMaxSize;
|
||||||
importRVA = pExeNTHdr->OptionalHeader.DataDirectory[IMAGE_DIRECTORY_ENTRY_IMPORT].VirtualAddress;
|
importRVA = pExeNTHdr->OptionalHeader.DataDirectory[IMAGE_DIRECTORY_ENTRY_IMPORT].VirtualAddress;
|
||||||
importRVASize = pExeNTHdr->OptionalHeader.DataDirectory[IMAGE_DIRECTORY_ENTRY_IMPORT].Size;
|
|
||||||
if (importRVA)
|
if (importRVA)
|
||||||
{
|
{
|
||||||
long delta = rvadelta (pExeNTHdr, importRVA, importRVAMaxSize);
|
long delta = rvadelta (pExeNTHdr, importRVA, importRVAMaxSize);
|
||||||
|
|
Loading…
Reference in New Issue