aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--slirp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/slirp.c b/slirp.c
index 538ecd9..051975d 100644
--- a/slirp.c
+++ b/slirp.c
@@ -1066,9 +1066,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);