Browse Source

unused variable removed

cl-refactor
Vlad Gluhovsky 10 years ago
parent
commit
b046146d48
  1. 2
      libwhisper/BloomFilter.cpp

2
libwhisper/BloomFilter.cpp

@ -30,7 +30,6 @@ static unsigned const c_mask[] = { 1, 2, 4, 8, 16, 32, 64, 128 };
void TopicBloomFilter::add(AbridgedTopic const& _h)
{
*this |= _h;
unsigned count = 0;
for (unsigned i = 0; i < CounterSize; ++i)
if (isBitSet(_h, i))
{
@ -46,7 +45,6 @@ void TopicBloomFilter::add(AbridgedTopic const& _h)
void TopicBloomFilter::remove(AbridgedTopic const& _h)
{
unsigned count = 0;
for (unsigned i = 0; i < CounterSize; ++i)
if (isBitSet(_h, i))
{

Loading…
Cancel
Save