diff --git a/ChangeLog b/ChangeLog
index 0ea9a61d..3a467f7a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2006-11-20 Joerg Wunsch <j@uriah.heep.sax.de>
+
+	* jtagmkI.c (jtagmkI_close): remove two unused variables.
+
 2006-11-20 Joerg Wunsch <j@uriah.heep.sax.de>
 
 	* avr.c: Replace the fallback of avr_read_byte() and avr_write_byte() to
diff --git a/jtagmkI.c b/jtagmkI.c
index d4978fa7..35c0faa9 100644
--- a/jtagmkI.c
+++ b/jtagmkI.c
@@ -681,7 +681,6 @@ static int jtagmkI_open(PROGRAMMER * pgm, char * port)
 
 static void jtagmkI_close(PROGRAMMER * pgm)
 {
-  unsigned char buf[1], resp[2];
 
   if (verbose >= 2)
     fprintf(stderr, "%s: jtagmkI_close()\n", progname);