diff options
author | Christopher Faylor <me@cgf.cx> | 2012-07-04 06:04:16 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2012-07-04 06:04:16 +0000 |
commit | 226133e80ca53c9ca86c2c89f76e73661f1aea98 (patch) | |
tree | d671530a25fb08765d82968937166eef2fce32a7 | |
parent | 0bdf68577d0d569f4c22e0e31bbe7fbc8c4172ab (diff) | |
download | newlib-226133e80ca53c9ca86c2c89f76e73661f1aea98.zip newlib-226133e80ca53c9ca86c2c89f76e73661f1aea98.tar.gz newlib-226133e80ca53c9ca86c2c89f76e73661f1aea98.tar.bz2 |
* hookapi.cc (find_first_notloaded_dll): Remove unused assignment of
importRVASize found by Clang.
-rw-r--r-- | winsup/cygwin/ChangeLog | 5 | ||||
-rw-r--r-- | winsup/cygwin/hookapi.cc | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 896cee9..30ccf05 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,5 +1,10 @@ 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 assignment to bytes_in_pipe found by Clang. diff --git a/winsup/cygwin/hookapi.cc b/winsup/cygwin/hookapi.cc index 8a9a2bf..83e9f49 100644 --- a/winsup/cygwin/hookapi.cc +++ b/winsup/cygwin/hookapi.cc @@ -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); |