Skip to contentSkip to conversation

Remove unused variables.

PATCH New Paul Brook 1 participant 1 message Mar 21, 2005

lore
Share & tools
lore

Paul Brook

author
#0 lore raw

PATCH 1/1 Remove unused variables.

The patch below removes a couple of unused variables which were causing compiler warnings.

Paul

Index: hw/esp.c
===================================================================
RCS file: /cvsroot/qemu/qemu/hw/esp.c,v
retrieving revision 1.1

esp.c 21 Mar 2005 00:57:54 -0000 renamed from esp.c 13 Mar 2005 09:43:36 -0000 1.1 +0 -4
diff -u -p -r1.1 esp.c
@@ -152,14 +152,10 @@ static CPUWriteMemoryFunc *espdma_mem_wr
 
 static void esp_save(QEMUFile *f, void *opaque)
 {
-    ESPState *s = opaque;
-    
 }
 
 static int esp_load(QEMUFile *f, void *opaque, int version_id)
 {
-    ESPState *s = opaque;
-    
     if (version_id != 1)
         return -EINVAL;