From: Chris Allegretta Date: Thu, 10 May 2001 22:55:16 +0000 (+0000) Subject: add_to_cutbuffer() - Remove useless statements (Rocco). X-Git-Tag: v1.1.0~57 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=4cb991dda1a3d6732fecf0e0bad58b8ba94ca5ae;p=nano.git add_to_cutbuffer() - Remove useless statements (Rocco). git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@644 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- diff --git a/ChangeLog b/ChangeLog index a52feaeb..0563024f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -26,6 +26,9 @@ Cvs code - line, and color later on. - Added --enable-color option to allow color and syntax highlighting (stub as of now). +- cut.c: + add_to_cutbuffer() + - Remove useless statements (Rocco). - faq.html: - Brought the FAQ up to date, many little changes (Jordi). - files.c: diff --git a/cut.c b/cut.c index a1d01e18..f5a3232a 100644 --- a/cut.c +++ b/cut.c @@ -39,15 +39,12 @@ static filestruct *cutbottom = NULL; /* Pointer to end of cutbuffer */ void add_to_cutbuffer(filestruct * inptr) { - filestruct *tmp; - #ifdef DEBUG fprintf(stderr, _("add_to_cutbuffer called with inptr->data = %s\n"), inptr->data); #endif totsize -= strlen(inptr->data); - tmp = cutbuffer; if (cutbuffer == NULL) { cutbuffer = inptr; inptr->prev = NULL;