mirror of
https://gitlab.com/qemu-project/qemu
synced 2024-11-05 20:35:44 +00:00
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
1 changed files with 1 additions and 2 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue