summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2005-05-20 04:26:35 +0000
committerJim Meyering <jim@meyering.net>2005-05-20 04:26:35 +0000
commit1222461ca6d8cb5c07c8395659fef323bf23e36f (patch)
treea0fb165b0ee07c82b4358fba442ca765a96eec22 /lib
parentec4933bcee122f7b88502c98b1d9dfd710cd4b6f (diff)
downloadcoreutils-1222461ca6d8cb5c07c8395659fef323bf23e36f.tar.xz
(fts_open): Remove useless but otherwise harmless malloc call.
Spotted by Paul Eggert.
Diffstat (limited to 'lib')
-rw-r--r--lib/fts.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/fts.c b/lib/fts.c
index 07737a11d..34249f373 100644
--- a/lib/fts.c
+++ b/lib/fts.c
@@ -424,7 +424,6 @@ fts_open (char * const *argv,
AD_compare, free);
if (sp->active_dir_ht == NULL)
goto mem3;
- sp->cycle_state = malloc (sizeof *sp->cycle_state);
}
else
{