qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH v2 01/11] [trivial] Fix a compiler warning


From: Lluís Vilanova
Subject: [Qemu-devel] [PATCH v2 01/11] [trivial] Fix a compiler warning
Date: Fri, 03 Feb 2012 22:10:48 +0100
User-agent: StGit/0.15

Signed-off-by: Lluís Vilanova <address@hidden>
---
 scripts/tracetool.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/scripts/tracetool.py b/scripts/tracetool.py
index 6874f66..f0d7e1e 100755
--- a/scripts/tracetool.py
+++ b/scripts/tracetool.py
@@ -183,7 +183,7 @@ def simple_c(events):
         argc = event.argc
         print '''void trace_%(name)s(%(args)s)
 {
-    unsigned int tbuf_idx, rec_off;
+    unsigned int tbuf_idx, rec_off __attribute__((unused));
     uint64_t var64 __attribute__ ((unused));
     uint64_t pvar64 __attribute__ ((unused));
     uint32_t slen __attribute__ ((unused));




reply via email to

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