qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [patch] Remove unused variables.


From: Paul Brook
Subject: [Qemu-devel] [patch] Remove unused variables.
Date: Mon, 21 Mar 2005 01:12:39 +0000
User-agent: KMail/1.7.2

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
diff -u -p -r1.1 esp.c
--- hw/esp.c 13 Mar 2005 09:43:36 -0000 1.1
+++ hw/esp.c 21 Mar 2005 00:57:54 -0000
@@ -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;
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]