summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2013-03-10 16:22:15 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2013-03-10 16:22:15 +0100
commite42575be3aca84626dae95750e81edbeb78065b2 (patch)
treebd06f38ce072fbc7ebfeda89fb05a6936bb0e0d3 /src
parent7ad575340ffd33de20608d295c1815f439dd4f9f (diff)
Remove problematic debug code in pnext.h
Diffstat (limited to 'src')
-rw-r--r--src/pnext.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/pnext.h b/src/pnext.h
index 1201c1d..fe2ce19 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