diff options
author | Jim Meyering <jim@meyering.net> | 2005-11-22 21:03:36 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2005-11-22 21:03:36 +0000 |
commit | f076895070508edc032515d9997586602fa841da (patch) | |
tree | 7e6eb57de6e0184f7feff2c631c3320043a6429d /src | |
parent | 5ff678924e90c702349a6669dc1dd39dc6e43418 (diff) | |
download | coreutils-f076895070508edc032515d9997586602fa841da.tar.xz |
(AD_push): Remove debugging cruft.
Diffstat (limited to 'src')
-rw-r--r-- | src/remove.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/remove.c b/src/remove.c index 4527b17d1..ab19acca0 100644 --- a/src/remove.c +++ b/src/remove.c @@ -574,14 +574,7 @@ AD_push (int fd_cwd, Dirstack_state *ds, char const *dir, /* Extend the stack. */ obstack_blank (&ds->Active_dir, sizeof (struct AD_ent)); - - { - size_t n_lengths = obstack_object_size (&ds->len_stack) / sizeof (size_t); - if (AD_stack_height (ds) != n_lengths + 1) - error (0, 0, "%lu %lu", (unsigned long) AD_stack_height (ds), - (unsigned long) n_lengths); - assert (AD_stack_height (ds) == n_lengths + 1); - } + assert (AD_stack_height (ds) == n_lengths + 1); /* Fill in the new values. */ top = AD_stack_top (ds); |