From: Jim Meyering Date: Tue, 22 Nov 2005 21:12:28 +0000 (+0000) Subject: whoops. Add back decl/definition of n_lengths. X-Git-Tag: COREUTILS-6_0~1270 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=32034e05b7fec52e0019e374b9cd1c463f94d812;p=platform%2Fupstream%2Fcoreutils.git whoops. Add back decl/definition of n_lengths. --- diff --git a/src/remove.c b/src/remove.c index ab19acc..ce9ae21 100644 --- a/src/remove.c +++ b/src/remove.c @@ -574,7 +574,11 @@ AD_push (int fd_cwd, Dirstack_state *ds, char const *dir, /* Extend the stack. */ obstack_blank (&ds->Active_dir, sizeof (struct AD_ent)); - assert (AD_stack_height (ds) == n_lengths + 1); + + { + size_t n_lengths = obstack_object_size (&ds->len_stack) / sizeof (size_t); + assert (AD_stack_height (ds) == n_lengths + 1); + } /* Fill in the new values. */ top = AD_stack_top (ds);