summaryrefslogtreecommitdiffstats
path: root/python_modules/codegen.py
diff options
context:
space:
mode:
authorFabiano FidĂȘncio <fidencio@redhat.com>2014-09-03 11:51:45 +0200
committerChristophe Fergeau <cfergeau@redhat.com>2014-09-18 13:13:27 +0200
commit9385db68756f6b798e6342993d3acaf3304b363c (patch)
tree251f3c0e46dcb61640c756483b5853cc7531e8a7 /python_modules/codegen.py
parentd45b3e2765ec130d047020d34985e65fa7fb166b (diff)
downloadspice-common-9385db68756f6b798e6342993d3acaf3304b363c.tar.gz
spice-common-9385db68756f6b798e6342993d3acaf3304b363c.tar.xz
spice-common-9385db68756f6b798e6342993d3acaf3304b363c.zip
python: Fix -Wunused-parameter
Although the most part of the parameters marked as unused are actually being used for a few functions, a bunch of warnings can be seen when the code is compiled with "-Wall -Wextra". As adding the unused attribute means that the variable/parameter is meant to be *possibly* unused, we're safe adding it in the generated code, even for used variables/parameters.
Diffstat (limited to 'python_modules/codegen.py')
0 files changed, 0 insertions, 0 deletions