summaryrefslogtreecommitdiff
path: root/gdb/valops.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/valops.c')
-rw-r--r--gdb/valops.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/valops.c b/gdb/valops.c
index 5b2abf4af89..2132f3e533e 100644
--- a/gdb/valops.c
+++ b/gdb/valops.c
@@ -2236,7 +2236,6 @@ search_struct_method (const char *name, struct value **arg1p,
for (i = TYPE_N_BASECLASSES (type) - 1; i >= 0; i--)
{
int base_offset;
- int skip = 0;
int this_offset;
if (BASETYPE_VIA_VIRTUAL (type, i))