qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH 4/4] qapi-types.py: Drop unused variable


From: Luiz Capitulino
Subject: [Qemu-devel] [PATCH 4/4] qapi-types.py: Drop unused variable
Date: Mon, 17 Oct 2011 13:29:37 -0200

Signed-off-by: Luiz Capitulino <address@hidden>
---
 scripts/qapi-types.py |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/scripts/qapi-types.py b/scripts/qapi-types.py
index 4a2ddc4..28d7f01 100644
--- a/scripts/qapi-types.py
+++ b/scripts/qapi-types.py
@@ -65,7 +65,6 @@ def generate_enum_lookup(name, values):
 const char *%(name)s_lookup[] = {
 ''',
                          name=name)
-    i = 0
     for value in values:
         ret += mcgen('''
     "%(value)s",
-- 
1.7.7.rc3




reply via email to

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