From: José Fonseca Date: Mon, 23 May 2011 20:15:12 +0000 (+0100) Subject: Silence warnings due to unused variables. X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=974a3fbc44f21b738830e1b031d6d3c7587856ae;p=apitrace Silence warnings due to unused variables. --- diff --git a/retrace.py b/retrace.py index 55df6ce..a9c5b4d 100644 --- a/retrace.py +++ b/retrace.py @@ -237,6 +237,7 @@ class Retracer: if function.type is not stdapi.Void: print ' %s __result;' % (function.type) print ' __result = %s(%s);' % (function.name, arg_names) + print ' (void)__result;' else: print ' %s(%s);' % (function.name, arg_names)