* [Qemu-devel] [patch] Remove unused variables.
@ 2005-03-21 1:12 Paul Brook
0 siblings, 0 replies; only message in thread
From: Paul Brook @ 2005-03-21 1:12 UTC (permalink / raw)
To: qemu-devel
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;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-03-21 1:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-21 1:12 [Qemu-devel] [patch] Remove unused variables Paul Brook
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.