projects
/
tools
/
apitrace.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f30a755
)
Silence warnings due to unused variables.
author
José Fonseca
<jfonseca@vmware.com>
Mon, 23 May 2011 20:15:12 +0000
(21:15 +0100)
committer
José Fonseca
<jfonseca@vmware.com>
Mon, 23 May 2011 20:15:12 +0000
(21:15 +0100)
retrace.py
patch
|
blob
|
history
diff --git
a/retrace.py
b/retrace.py
index
55df6ce
..
a9c5b4d
100644
(file)
--- 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)