From 0f0b2e66b8b0c439dbed63e54b29bbf81dc8fba3 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Fri, 27 May 2005 18:15:18 +0000 Subject: [PATCH] Simplified the last change a bit. --- flist.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/flist.c b/flist.c index c342539e..5526e201 100644 --- a/flist.c +++ b/flist.c @@ -1524,9 +1524,8 @@ static void clean_flist(struct file_list *flist, int strip_root, int no_dups) } /* Make sure that if we unduplicate '.', that we don't * lose track of a user-specified top directory. */ - j = flist->files[drop]->flags & (FLAG_TOP_DIR|FLAG_DEL_HERE); - if (j) - flist->files[keep]->flags |= j; + flist->files[keep]->flags |= flist->files[drop]->flags + & (FLAG_TOP_DIR|FLAG_DEL_HERE); clear_file(drop, flist); -- 2.34.1