aboutsummaryrefslogtreecommitdiff
path: root/gdb/objc-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/objc-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/objc-lang.c')
-rw-r--r--gdb/objc-lang.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/objc-lang.c b/gdb/objc-lang.c
index 1731fa7..b8cd18b 100644
--- a/gdb/objc-lang.c
+++ b/gdb/objc-lang.c
@@ -350,7 +350,6 @@ objc_printstr (struct ui_file *stream, struct type *type,
unsigned int things_printed = 0;
int in_quotes = 0;
int need_comma = 0;
- int width = TYPE_LENGTH (type);
/* If the string was not truncated due to `set print elements', and
the last byte of it is a null, we don't print that, in