aboutsummaryrefslogtreecommitdiff
path: root/gdb/m2-lang.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2010-05-06 23:36:39 +0000
committerMichael Snyder <msnyder@vmware.com>2010-05-06 23:36:39 +0000
commitb5385fc0f02ffc78a7bcfbcfbcc7f5c57c48ea7e (patch)
treeabc58d929383aee51cb10a407d993855be3fbb47 /gdb/m2-lang.c
parent4fc06681d353f36e1292a062bb01c0f35a31ef38 (diff)
downloadgdb-b5385fc0f02ffc78a7bcfbcfbcc7f5c57c48ea7e.zip
gdb-b5385fc0f02ffc78a7bcfbcfbcc7f5c57c48ea7e.tar.gz
gdb-b5385fc0f02ffc78a7bcfbcfbcc7f5c57c48ea7e.tar.bz2
2010-05-06 Michael Snyder <msnyder@vmware.com>
* ada-lang.c (add_defn_to_vec): Delete unused variable. (decode_constrained_packed_array_type): Delete unused variable. (add_defn_to_vec): Delete unused variable. (symbol_completion_match): Delete unused variable. (value_tag_from_contents_and_address): Delete unused variable. (ada_evaluate_subexp): Delete unused variable. * c-lang.c (classify_type): Delete unused variable. * f-lang.c (f_printstr): Delete unused variable. * objc-lang.c (objc_printstr): Delete unused variable. * ada-tasks.c (get_known_tasks_addr): Delete unused variable. * jv-lang.c (type_from_class): ifdef unused variable. (java_class_name_from_physname): Delete unused variable. * m2-lang.c (m2_printstr): Delete unused variable.
Diffstat (limited to 'gdb/m2-lang.c')
-rw-r--r--gdb/m2-lang.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/m2-lang.c b/gdb/m2-lang.c
index 3057774..9cc64bc 100644
--- a/gdb/m2-lang.c
+++ b/gdb/m2-lang.c
@@ -111,7 +111,6 @@ m2_printstr (struct ui_file *stream, struct type *type, const gdb_byte *string,
unsigned int things_printed = 0;
int in_quotes = 0;
int need_comma = 0;
- int width = TYPE_LENGTH (type);
if (length == 0)
{