From e42575be3aca84626dae95750e81edbeb78065b2 Mon Sep 17 00:00:00 2001 From: Christophe Grenier Date: Sun, 10 Mar 2013 16:22:15 +0100 Subject: [PATCH] Remove problematic debug code in pnext.h --- src/pnext.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/pnext.h b/src/pnext.h index 1201c1de..fe2ce19b 100644 --- a/src/pnext.h +++ b/src/pnext.h @@ -62,7 +62,6 @@ void get_next_sector(alloc_data_t *list_search_space, alloc_data_t **current_sea (unsigned long long)((*current_search_space)->start/512), (unsigned long long)((*current_search_space)->end/512)); log_flush(); - bug(); log_close(); exit(1); } @@ -72,10 +71,3 @@ void get_next_sector(alloc_data_t *list_search_space, alloc_data_t **current_sea else get_next_header(list_search_space, current_search_space, offset); } - -#ifdef DEBUG_GET_NEXT_SECTOR -void bug(void) -{ - log_critical("bug\n"); -} -#endif