aboutsummaryrefslogtreecommitdiffstats
path: root/tools/process-x11-xcb.pl
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2013-12-18 20:53:01 +0000
committerGerald Combs <gerald@wireshark.org>2013-12-18 20:53:01 +0000
commit5385c2d5f8ad18ea80fbc1eca9e506109febe35c (patch)
tree91ac0cce8e81e781750cbcea045704f06711f59c /tools/process-x11-xcb.pl
parentb834b2ae18f4b491cf4cad8dfb5c3f8db6808aa2 (diff)
Instead of assigning a variable to itself, avoid unused warnings similar
to the Q_UNUSED macro. svn path=/trunk/; revision=54232
Diffstat (limited to 'tools/process-x11-xcb.pl')
-rwxr-xr-xtools/process-x11-xcb.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/process-x11-xcb.pl b/tools/process-x11-xcb.pl
index 7761d87904..148355f9f4 100755
--- a/tools/process-x11-xcb.pl
+++ b/tools/process-x11-xcb.pl
@@ -394,7 +394,7 @@ eot
} else {
if (defined($count)) {
# Silence compiler until we support variable_param
- say $impl " $count = $count; /* Avoid unreferenced warning */";
+ say $impl " (void) $count; /* Avoid unreferenced warning, similar to Q_UNUSED */";
}
print $impl " $list(tvb, offsetp, t, $regname, (length - $length) / $gltype{$type}{'size'}, byte_order);\n";
}