提交 b0e04867 编写于 作者: B Blue Swirl

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: NBlue Swirl <blauwirbel@gmail.com>
上级 7071ff32
...@@ -1069,9 +1069,8 @@ static int slirp_state_load(QEMUFile *f, void *opaque, int version_id) ...@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册