We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 95e1e74 commit db8ad9cCopy full SHA for db8ad9c
1 file changed
include/dynlibutils/module.hpp
@@ -426,10 +426,7 @@ class CModule : public CMemory
426
if (!pSection || !pSection->IsValid())
427
return 0;
428
429
- const CMemory pBase = *pSection;
430
- const std::size_t sectionSize = pSection->m_nSectionSize;
431
-
432
- CMemory pIter = pStartAddress ? pStartAddress : pBase;
+ CMemory pIter = pStartAddress ? pStartAddress : *pSection;
433
434
std::size_t foundCount = 0;
435
0 commit comments