summaryrefslogtreecommitdiffstats
path: root/scripts/switch-timer-api
diff options
context:
space:
mode:
authorPeter Maydell2014-06-07 18:48:03 +0200
committerMichael Tokarev2014-06-10 17:39:34 +0200
commitf9b5426fd50a60d9fda2c061c24f60537666e9af (patch)
tree433c91479ca38bd6eb6cf38b3297b794a2953460 /scripts/switch-timer-api
parenthw/sd/sd.c: Drop unused sd_acmd_type[] array (diff)
downloadqemu-f9b5426fd50a60d9fda2c061c24f60537666e9af.tar.gz
qemu-f9b5426fd50a60d9fda2c061c24f60537666e9af.tar.xz
qemu-f9b5426fd50a60d9fda2c061c24f60537666e9af.zip
util/qemu-sockets.c: Avoid unused variable warnings
The 'on' variable is never used, and 'off' is only used if IPV6_V6ONLY is defined; delete 'on' and move 'off' to the point where it is used. This avoids warnings from clang 3.4. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'scripts/switch-timer-api')
0 files changed, 0 insertions, 0 deletions