From 9a2d0aff00a6fe0ab8d227b7f0d8e353685f129b Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Mon, 27 Nov 2006 06:02:33 +0000 Subject: [PATCH] simplify git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3982 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- src/files.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/files.c b/src/files.c index 01675d1b..7cb0d2d7 100644 --- a/src/files.c +++ b/src/files.c @@ -683,7 +683,7 @@ void do_insertfile( char *ans = mallocstrcpy(NULL, ""); /* The last answer the user typed on the statusbar. */ filestruct *edittop_save = openfile->edittop; - size_t current_x_save = openfile->current_x, answer_len; + size_t current_x_save = openfile->current_x; ssize_t current_y_save = openfile->current_y; bool at_edittop = FALSE; /* Whether we're at the top of the edit window. */ @@ -739,7 +739,7 @@ void do_insertfile( statusbar(_("Cancelled")); break; } else { - size_t pww_save = openfile->placewewant; + size_t pww_save = openfile->placewewant, answer_len; ans = mallocstrcpy(ans, answer); -- 2.39.5