Removed extraneous dwAddress initializer.

This commit is contained in:
gir489
2018-06-15 08:18:01 -05:00
committed by GitHub
parent 80df891be9
commit a35b58fd61

View File

@@ -12,9 +12,7 @@ bool HasOneHitSig( qSigVector& vecSig )
int GetOccurenceCount( const qstring& strSig, bool bSkipOut = false ) int GetOccurenceCount( const qstring& strSig, bool bSkipOut = false )
{ {
int iCount = 0; int iCount = 0;
ea_t dwAddress = find_binary( inf.min_ea, inf.max_ea, strSig.c_str( ), 16, SEARCH_DOWN ); ea_t dwAddress = find_binary(inf.omin_ea, inf.omax_ea, strSig.c_str(), 16, SEARCH_DOWN);
dwAddress = find_binary(inf.omin_ea, inf.omax_ea, strSig.c_str(), 16, SEARCH_DOWN);
if (IsValidEA(dwAddress)) if (IsValidEA(dwAddress))
{ {
do do
@@ -25,7 +23,6 @@ int GetOccurenceCount( const qstring& strSig, bool bSkipOut = false )
dwAddress = find_binary(dwAddress + 1, inf.omax_ea, strSig.c_str(), 16, SEARCH_DOWN); dwAddress = find_binary(dwAddress + 1, inf.omax_ea, strSig.c_str(), 16, SEARCH_DOWN);
} while (IsValidEA(dwAddress)); } while (IsValidEA(dwAddress));
} }
return iCount; return iCount;
} }