From: sin Date: Wed, 22 Oct 2014 15:28:23 +0000 (+0100) Subject: Remember to set dents to NULL X-Git-Tag: v1.0~92^2~162 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=c6614067e4e47234c6e2602b6c963735135bd7ae;p=nnn.git Remember to set dents to NULL --- diff --git a/noice.c b/noice.c index 6355defc..09a63db0 100644 --- a/noice.c +++ b/noice.c @@ -511,6 +511,7 @@ begin: if (r != 0) goto nochange; + dents = NULL; n = dentfill(dirp, &dents, visible, &filter_re); /* Make sure cur is in range */