mirror of https://github.com/xqemu/xqemu.git
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: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
7071ff3288
commit
b0e0486730
|
@ -1069,9 +1069,8 @@ static int slirp_state_load(QEMUFile *f, void *opaque, int version_id)
|
||||||
{
|
{
|
||||||
Slirp *slirp = opaque;
|
Slirp *slirp = opaque;
|
||||||
struct ex_list *ex_ptr;
|
struct ex_list *ex_ptr;
|
||||||
int r;
|
|
||||||
|
|
||||||
while ((r = qemu_get_byte(f))) {
|
while (qemu_get_byte(f)) {
|
||||||
int ret;
|
int ret;
|
||||||
struct socket *so = socreate(slirp);
|
struct socket *so = socreate(slirp);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue