Removed some debugging.
This commit is contained in:
+4
-4
@@ -398,10 +398,10 @@ LL_DeleteNode (LinkedList * list)
|
|||||||
if (list->current == &list->tail)
|
if (list->current == &list->tail)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
#ifdef DEBUG
|
/*
|
||||||
printf ("LL_DeleteNode: Before...\n");
|
printf ("LL_DeleteNode: Before...\n");
|
||||||
LL_dprint (list);
|
LL_dprint (list);
|
||||||
#endif
|
*/
|
||||||
|
|
||||||
next = list->current->next;
|
next = list->current->next;
|
||||||
prev = list->current->prev;
|
prev = list->current->prev;
|
||||||
@@ -423,10 +423,10 @@ LL_DeleteNode (LinkedList * list)
|
|||||||
|
|
||||||
list->current = next;
|
list->current = next;
|
||||||
|
|
||||||
#ifdef DEBUG
|
/*
|
||||||
printf ("LL_DeleteNode: After...\n");
|
printf ("LL_DeleteNode: After...\n");
|
||||||
LL_dprint (list);
|
LL_dprint (list);
|
||||||
#endif
|
*/
|
||||||
|
|
||||||
return data;
|
return data;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user