Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Signed-off-by: Michael Tokarev <[email protected]>
- Loading branch information