mirror of
https://github.com/hoytech/strfry.git
synced 2025-06-17 08:48:51 +00:00
unused var
This commit is contained in:
@ -23,14 +23,11 @@ struct FilterSetBytes {
|
||||
|
||||
std::vector<std::string> arr;
|
||||
|
||||
uint64_t totalSize = 0;
|
||||
|
||||
for (const auto &i : arrHex.get_array()) {
|
||||
arr.emplace_back(hexDecode ? from_hex(i.get_string(), false) : i.get_string());
|
||||
size_t itemSize = arr.back().size();
|
||||
if (itemSize < minSize) throw herr("filter item too small");
|
||||
if (itemSize > maxSize) throw herr("filter item too large");
|
||||
totalSize += itemSize;
|
||||
}
|
||||
|
||||
std::sort(arr.begin(), arr.end());
|
||||
|
Reference in New Issue
Block a user