Переглянути джерело

Remove unused param

master
Arun Prakash Jana 5 роки тому
джерело
коміт
c54f50cf4f
Не вдалося знайти GPG ключ що відповідає даному підпису Ідентифікатор GPG ключа: A75979F35C080412
1 змінених файлів з 4 додано та 4 видалено
  1. +4
    -4
      src/nnn.c

+ 4
- 4
src/nnn.c Переглянути файл

@@ -2793,7 +2793,7 @@ static bool create_dir(const char *path)
return TRUE; return TRUE;
} }


static bool sshfs_mount(char *path, char *newpath, int *presel) static bool sshfs_mount(char *newpath, int *presel)
{ {
uchar flag = F_NORMAL; uchar flag = F_NORMAL;
int r; int r;
@@ -2835,7 +2835,7 @@ static bool sshfs_mount(char *path, char *newpath, int *presel)
return TRUE; return TRUE;
} }


static bool sshfs_unmount(char *path, char *newpath, int *presel) static bool sshfs_unmount(char *newpath, int *presel)
{ {
static char cmd[] = "fusermount3"; /* Arch Linux utility */ static char cmd[] = "fusermount3"; /* Arch Linux utility */
static bool found = FALSE; static bool found = FALSE;
@@ -4578,7 +4578,7 @@ nochange:
/* Repopulate as directory content may have changed */ /* Repopulate as directory content may have changed */
goto begin; goto begin;
case SEL_SSHFS: case SEL_SSHFS:
if (!sshfs_mount(path, newpath, &presel)) if (!sshfs_mount(newpath, &presel))
goto nochange; goto nochange;


lastname[0] = '\0'; lastname[0] = '\0';
@@ -4592,7 +4592,7 @@ nochange:
setdirwatch(); setdirwatch();
goto begin; goto begin;
case SEL_UMOUNT: case SEL_UMOUNT:
sshfs_unmount(path, newpath, &presel); sshfs_unmount(newpath, &presel);
goto nochange; goto nochange;
case SEL_QUITCD: // fallthrough case SEL_QUITCD: // fallthrough
case SEL_QUIT: case SEL_QUIT:


||||||
x
 
000:0
Завантаження…
Відмінити
Зберегти