Browse Source

size variable in remove_block_from_lists() is used only on fixed lists

Ioannis Koutras 13 years ago
parent
commit
778b14b7de
1 changed files with 0 additions and 2 deletions
  1. 0 2
      src/linked_lists/linked_lists.c

+ 0 - 2
src/linked_lists/linked_lists.c

@@ -114,12 +114,10 @@ void remove_block_from_lists(void **block, heap_t *heap) {
 #ifdef WITH_FIXED_LISTS
     int fixed_list_id, i;
     maptable_node_t *current_maptable_node;
-#endif /* WITH_FIXED_LISTS */
     size_t size;
 
     size = get_size(*block);
 
-#ifdef WITH_FIXED_LISTS
     /* Check if it is a block of a fixed list */
     fixed_list_id = map_size_to_list(heap, size);
     if(fixed_list_id != -1) {