diff --git a/ChangeLog b/ChangeLog
index a52feaeb5839b09b519862c75d800731ebb6a9cb..0563024f45332d830aaacb9d96a3b763d77541df 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 a1d01e181d0ba7b69239af79c0257477e4700491..f5a3232a8da8a831aba59ef4065564f079957aed 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;