From: Jim Meyering Date: Fri, 28 May 2004 22:31:26 +0000 (+0000) Subject: (push_dir): Merge declaration and adjacent assignment into a single statement. X-Git-Tag: v5.3.0~1494 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=70c5c9e8c493d1701132df062579a7bc9763a4c7;p=thirdparty%2Fcoreutils.git (push_dir): Merge declaration and adjacent assignment into a single statement. --- diff --git a/src/remove.c b/src/remove.c index e561307d8c..c29623af67 100644 --- a/src/remove.c +++ b/src/remove.c @@ -180,9 +180,7 @@ hash_compare_strings (void const *x, void const *y) static inline void push_dir (Dirstack_state *ds, const char *dir_name) { - size_t len; - - len = strlen (dir_name); + size_t len = strlen (dir_name); /* Append the string onto the stack. */ obstack_grow (&ds->dir_stack, dir_name, len);