From 70c5c9e8c493d1701132df062579a7bc9763a4c7 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Fri, 28 May 2004 22:31:26 +0000 Subject: (push_dir): Merge declaration and adjacent assignment into a single statement. --- src/remove.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src') diff --git a/src/remove.c b/src/remove.c index e561307d8..c29623af6 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); -- cgit v1.2.3-54-g00ecf