* hookapi.cc (find_first_notloaded_dll): Remove unused assignment of

importRVASize found by Clang.
This commit is contained in:
Christopher Faylor 2012-07-04 06:04:16 +00:00
parent 0bdf68577d
commit 226133e80c
2 changed files with 5 additions and 2 deletions

View File

@ -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

View File

@ -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);