提交 d7209371 编写于 作者: A Amit Shah 提交者: Anthony Liguori

x86: translate.c: remove dead assignment

clang-analyzer points out a redundant assignment.
Signed-off-by: NAmit Shah <amit.shah@redhat.com>
Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
上级 22c253d9
...@@ -2207,8 +2207,6 @@ static void gen_add_A0_ds_seg(DisasContext *s) ...@@ -2207,8 +2207,6 @@ static void gen_add_A0_ds_seg(DisasContext *s)
if (s->override >= 0) { if (s->override >= 0) {
override = s->override; override = s->override;
must_add_seg = 1; must_add_seg = 1;
} else {
override = R_DS;
} }
if (must_add_seg) { if (must_add_seg) {
#ifdef TARGET_X86_64 #ifdef TARGET_X86_64
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册