summaryrefslogtreecommitdiff
path: root/sys/arch/amd64/amd64/db_disasm.c
diff options
context:
space:
mode:
authorCharles Longeau <chl@cvs.openbsd.org>2008-10-06 20:42:03 +0000
committerCharles Longeau <chl@cvs.openbsd.org>2008-10-06 20:42:03 +0000
commit9727aea1495d3deb0c451a8af2c2a8fe4599a841 (patch)
treed6658cb20db8c96ff995b37bc700b1e4dc7474b3 /sys/arch/amd64/amd64/db_disasm.c
parent3b748a35eed231f2cc347c4fe4af63f6177df3b2 (diff)
remove dead stores and newly created unused variables.
Found by LLVM/Clang Static Analyzer. ok weingart@
Diffstat (limited to 'sys/arch/amd64/amd64/db_disasm.c')
-rw-r--r--sys/arch/amd64/amd64/db_disasm.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/arch/amd64/amd64/db_disasm.c b/sys/arch/amd64/amd64/db_disasm.c
index d24d77d198a..3f154bb8a87 100644
--- a/sys/arch/amd64/amd64/db_disasm.c
+++ b/sys/arch/amd64/amd64/db_disasm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_disasm.c,v 1.8 2007/11/05 19:23:24 miod Exp $ */
+/* $OpenBSD: db_disasm.c,v 1.9 2008/10/06 20:42:02 chl Exp $ */
/* $NetBSD: db_disasm.c,v 1.11 1996/05/03 19:41:58 christos Exp $ */
/*
@@ -1089,7 +1089,6 @@ db_disasm(db_addr_t loc, boolean_t altfmt)
int len;
int rex = 0;
int segovr_grp;
- int rep_grp;
int repe, repne;
struct i_addr address;
db_addr_t loc_orig = loc;
@@ -1100,7 +1099,6 @@ db_disasm(db_addr_t loc, boolean_t altfmt)
size = LONG;
seg = 0;
segovr_grp = 0;
- rep_grp = 0;
repe = 0;
repne = 0;