summaryrefslogtreecommitdiffstats
path: root/libc/bionic/fts.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/bionic/fts.c')
-rw-r--r--libc/bionic/fts.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/bionic/fts.c b/libc/bionic/fts.c
index 3dcfb28..c7770b6 100644
--- a/libc/bionic/fts.c
+++ b/libc/bionic/fts.c
@@ -548,9 +548,9 @@ fts_build(FTS *sp, int type)
DIR *dirp;
void *oldaddr;
size_t len, maxlen;
- int nitems, cderrno, descend, level, nlinks, nostat, doadjust;
+ int nitems, cderrno, descend, level, nlinks, nostat = 0, doadjust;
int saved_errno;
- char *cp;
+ char *cp = NULL;
/* Set current node pointer. */
cur = sp->fts_cur;