diff options
| author | Peter Maydell | 2014-06-07 18:48:03 +0200 |
|---|---|---|
| committer | Michael Tokarev | 2014-06-10 17:39:34 +0200 |
| commit | f9b5426fd50a60d9fda2c061c24f60537666e9af (patch) | |
| tree | 433c91479ca38bd6eb6cf38b3297b794a2953460 /scripts/checkpatch.pl | |
| parent | hw/sd/sd.c: Drop unused sd_acmd_type[] array (diff) | |
| download | qemu-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/checkpatch.pl')
0 files changed, 0 insertions, 0 deletions
