diff options
author | Michael Snyder <msnyder@vmware.com> | 2011-02-28 22:55:06 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2011-02-28 22:55:06 +0000 |
commit | 976aa66e892a9cb10522a68a3347798ab4d7f0a0 (patch) | |
tree | ffd41fb9f57ac9931bcb7ad3e60936e950a3b533 /gdb/m2-lang.c | |
parent | 5b92b49f16b3b9cb925d4728e58067ada405737d (diff) | |
download | gdb-976aa66e892a9cb10522a68a3347798ab4d7f0a0.zip gdb-976aa66e892a9cb10522a68a3347798ab4d7f0a0.tar.gz gdb-976aa66e892a9cb10522a68a3347798ab4d7f0a0.tar.bz2 |
2011-02-28 Michael Snyder <msnyder@vmware.com>
* m2-lang.c (evaluate_subexp_modula2): Discard unused variable.
Diffstat (limited to 'gdb/m2-lang.c')
-rw-r--r-- | gdb/m2-lang.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/m2-lang.c b/gdb/m2-lang.c index b0a9e27..f83c622 100644 --- a/gdb/m2-lang.c +++ b/gdb/m2-lang.c @@ -255,7 +255,7 @@ evaluate_subexp_modula2 (struct type *expect_type, struct expression *exp, if (value_type (arg1) != type) arg1 = value_cast (type, arg1); - type = check_typedef (value_type (arg1)); + check_typedef (value_type (arg1)); return value_ind (value_ptradd (arg1, value_as_long (arg2))); } else |