aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmit Shah <amit.shah@redhat.com>2010-01-13 16:24:44 +0530
committerAnthony Liguori <aliguori@us.ibm.com>2010-01-13 17:14:15 -0600
commitd7209371b1563407c2ba5b474f31cd32a9b0fd3f (patch)
tree817280b4b75d1977b59dc5bfc1868bf6976e8419
parent22c253d9d659af76279c9d96acbbf105ea120753 (diff)
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>
-rw-r--r--target-i386/translate.c2
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