Fix -Os compilation warnings

This commit is contained in:
Arun Prakash Jana 2017-12-03 17:36:00 +05:30
parent d6b80b380f
commit 092cdf3f82
No known key found for this signature in database
GPG key ID: A75979F35C080412

2
nnn.c
View file

@ -2084,7 +2084,7 @@ browse(char *ipath, char *ifilter)
{ {
static char path[PATH_MAX], oldpath[PATH_MAX], newpath[PATH_MAX], lastdir[PATH_MAX], mark[PATH_MAX]; static char path[PATH_MAX], oldpath[PATH_MAX], newpath[PATH_MAX], lastdir[PATH_MAX], mark[PATH_MAX];
static char fltr[LINE_MAX]; static char fltr[LINE_MAX];
char *dir, *tmp, *run, *env, *dstdir = NULL; char *dir, *tmp, *run = NULL, *env = NULL, *dstdir = NULL;
struct stat sb; struct stat sb;
int r, fd, presel; int r, fd, presel;
enum action sel = SEL_RUNARG + 1; enum action sel = SEL_RUNARG + 1;