From: David Lawrence Ramsey Date: Fri, 24 Feb 2006 19:38:20 +0000 (+0000) Subject: in do_writeout(), remove unneeded setting of currshortcut X-Git-Tag: v1.3.11~32 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=ac0361df6ecd906d6f51394860c6c4cc06acd959;p=nano.git 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 --- 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;