comparison lib/fts.c @ 40244:c39a0edd90d7

fts: minor simplification * lib/fts.c (fts_safe_changedir): Remove redundant assignment.
author Paul Eggert <eggert@cs.ucla.edu>
date Sun, 17 Mar 2019 12:39:50 -0700
parents 5be6b690b930
children
comparison
equal deleted inserted replaced
40243:667e4c89e4d3 40244:c39a0edd90d7
2067 if ( ! i_ring_empty (&sp->fts_fd_ring)) 2067 if ( ! i_ring_empty (&sp->fts_fd_ring))
2068 { 2068 {
2069 int parent_fd; 2069 int parent_fd;
2070 fd_ring_print (sp, stderr, "pre-pop"); 2070 fd_ring_print (sp, stderr, "pre-pop");
2071 parent_fd = i_ring_pop (&sp->fts_fd_ring); 2071 parent_fd = i_ring_pop (&sp->fts_fd_ring);
2072 is_dotdot = true;
2073 if (0 <= parent_fd) 2072 if (0 <= parent_fd)
2074 { 2073 {
2075 fd = parent_fd; 2074 fd = parent_fd;
2076 dir = NULL; 2075 dir = NULL;
2077 } 2076 }