summaryrefslogtreecommitdiff
path: root/src/remove.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/remove.c')
-rw-r--r--src/remove.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/remove.c b/src/remove.c
index b90055c19..bd1989f6c 100644
--- a/src/remove.c
+++ b/src/remove.c
@@ -418,9 +418,7 @@ AD_mark_current_as_unremovable (void)
struct AD_ent *top = AD_stack_top ();
const char *curr = top_dir ();
- /* FIXME: assert this? */
- if (AD_stack_height () <= 1)
- return;
+ assert (1 < AD_stack_height ());
--top;
AD_mark_helper (&top->unremovable, curr);