summaryrefslogtreecommitdiff
path: root/python_modules
diff options
context:
space:
mode:
authorPavel Grunt <pgrunt@redhat.com>2016-11-01 14:13:22 +0100
committerPavel Grunt <pgrunt@redhat.com>2016-11-01 15:26:43 +0100
commit63e575d5fca5f1f958c6d55ba66bc36df26e68fe (patch)
treef8e95a5008794b3dbc9e2814b9e0b90addb9156e /python_modules
parent215b7571d413526ee7b4f1c461d1df190ceb4b04 (diff)
silence -Wunused-parameter
Diffstat (limited to 'python_modules')
-rw-r--r--python_modules/demarshal.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python_modules/demarshal.py b/python_modules/demarshal.py
index de2ccd0..1ea131d 100644
--- a/python_modules/demarshal.py
+++ b/python_modules/demarshal.py
@@ -72,7 +72,7 @@ def write_parser_helpers(writer):
writer.statement("return val")
writer.end_block()
- writer.function("SPICE_GNUC_UNUSED consume_fd", "int", "uint8_t **ptr", True)
+ writer.function("SPICE_GNUC_UNUSED consume_fd", "int", "uint8_t **ptr SPICE_GNUC_UNUSED", True)
writer.statement("return -1")
writer.end_block()