diff options
author | Amit Shah | 2010-01-13 11:54:44 +0100 |
---|---|---|
committer | Anthony Liguori | 2010-01-14 00:14:15 +0100 |
commit | d7209371b1563407c2ba5b474f31cd32a9b0fd3f (patch) | |
tree | 817280b4b75d1977b59dc5bfc1868bf6976e8419 /target-i386/translate.c | |
parent | virtio: net: remove dead assignment (diff) | |
download | qemu-d7209371b1563407c2ba5b474f31cd32a9b0fd3f.tar.gz qemu-d7209371b1563407c2ba5b474f31cd32a9b0fd3f.tar.xz qemu-d7209371b1563407c2ba5b474f31cd32a9b0fd3f.zip |
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>
Diffstat (limited to 'target-i386/translate.c')
-rw-r--r-- | target-i386/translate.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/target-i386/translate.c b/target-i386/translate.c index 511a4eae9b..8078112054 100644 --- a/target-i386/translate.c +++ b/target-i386/translate.c @@ -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 |