Skip to content
Snippets Groups Projects
Commit c33b5ec9 authored by iulian's avatar iulian
Browse files

minor: removed dead code

parent 2cb7bbd2
Branches master
No related tags found
No related merge requests found
......@@ -199,7 +199,7 @@ void IfHashTable<C>::remove(const C* object) {
template <class C>
void IfHashTable<C>::status(FILE* file) const {
unsigned long min = 1000000, max = 0, bc = 0;
unsigned long min = 1000000, max = 0;//, bc = 0;
for(unsigned long i = 0; i < m_size; i++) {
unsigned long length = 0;
for(Block* block = m_blocks[i]; block;
......@@ -207,7 +207,7 @@ void IfHashTable<C>::status(FILE* file) const {
length ++;
if (min > length) min = length;
if (max < length) max = length;
bc += length;
// bc += length;
}
fprintf(file, "%8s table : %7ld items %6ld/entry %2ld/min %2ld/max %5.2f/avg\n",
this->m_name, this->m_count, m_size, min * HASHBLOCKSIZE, max * HASHBLOCKSIZE,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment