diff options
Diffstat (limited to 'slirp')
-rw-r--r-- | slirp/slirp.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/slirp/slirp.c b/slirp/slirp.c index 6731f529f6..3c785cd643 100644 --- a/slirp/slirp.c +++ b/slirp/slirp.c @@ -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); |