Fix unused variable warning

This commit is contained in:
Arun Prakash Jana 2021-07-17 04:46:35 +05:30
parent a911b3044a
commit 07b627a725
No known key found for this signature in database
GPG Key ID: A75979F35C080412
1 changed files with 5 additions and 2 deletions

View File

@ -2426,17 +2426,20 @@ static bool xrm(char * const fpath)
static void xrmfromsel(char *path, char *fpath)
{
#ifndef NOX11
bool selected = TRUE;
#endif
if ((pdents[cur].flags & DIR_OR_DIRLNK) && scanselforpath(fpath, FALSE))
clearselection();
else if (pdents[cur].flags & FILE_SELECTED) {
--nselected;
rmfromselbuf(mkpath(path, pdents[cur].name, g_buf));
} else
}
#ifndef NOX11
else
selected = FALSE;
#ifndef NOX11
if (selected && cfg.x11)
plugscript(utils[UTIL_CBCP], F_NOWAIT | F_NOTRACE);
#endif