Message ID | 1400766840-20726-4-git-send-email-lcapitulino@redhat.com |
---|---|
State | New |
Headers | show |
diff --git a/scripts/qapi-commands.py b/scripts/qapi-commands.py index 386f17e..7d93d01 100644 --- a/scripts/qapi-commands.py +++ b/scripts/qapi-commands.py @@ -111,7 +111,7 @@ bool has_%(argname)s = false; argname=c_var(argname), argtype=c_type(argtype)) else: ret += mcgen(''' -%(argtype)s %(argname)s; +%(argtype)s %(argname)s = {0}; ''', argname=c_var(argname), argtype=c_type(argtype))