mirror of https://github.com/xemu-project/xemu.git
x86: translate.c: remove dead assignment
clang-analyzer points out a redundant assignment. Signed-off-by: Amit Shah <amit.shah@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
22c253d9d6
commit
d7209371b1
|
@ -2207,8 +2207,6 @@ static void gen_add_A0_ds_seg(DisasContext *s)
|
|||
if (s->override >= 0) {
|
||||
override = s->override;
|
||||
must_add_seg = 1;
|
||||
} else {
|
||||
override = R_DS;
|
||||
}
|
||||
if (must_add_seg) {
|
||||
#ifdef TARGET_X86_64
|
||||
|
|
Loading…
Reference in New Issue