Commit b0e04867 authored by Blue Swirl's avatar Blue Swirl
Browse files

slirp: remove dead nested assignment, spotted by clang



Although the value stored to 'r' is used in the enclosing expression,
the value is never actually read from 'r'.

Signed-off-by: default avatarBlue Swirl <blauwirbel@gmail.com>
parent 7071ff32
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -1069,9 +1069,8 @@ static int slirp_state_load(QEMUFile *f, void *opaque, int version_id)
{
    Slirp *slirp = opaque;
    struct ex_list *ex_ptr;
    int r;

    while ((r = qemu_get_byte(f))) {
    while (qemu_get_byte(f)) {
        int ret;
        struct socket *so = socreate(slirp);