From ac0361df6ecd906d6f51394860c6c4cc06acd959 Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Fri, 24 Feb 2006 19:38:20 +0000 Subject: [PATCH] in do_writeout(), remove unneeded setting of currshortcut git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3297 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- ChangeLog | 2 ++ src/files.c | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 0465437c..192dfd36 100644 --- a/ChangeLog +++ b/ChangeLog @@ -37,6 +37,8 @@ CVS code - mbstrchr() - Make parameter c const. (DLR) - files.c: + do_writeout() + - Remove unneeded setting of currshortcut. (DLR) is_dir() - Rename parameter ret to retval, for consistency. (DLR) - global.c: diff --git a/src/files.c b/src/files.c index 127053c5..f5be6061 100644 --- a/src/files.c +++ b/src/files.c @@ -1782,8 +1782,6 @@ int do_writeout(bool exiting) if (i == NANO_TOFILES_KEY) { char *tmp = do_browse_from(answer); - currshortcut = writefile_list; - if (tmp == NULL) continue; -- 2.39.5