diff options
author | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2012-07-06 05:46:04 +0000 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2012-07-06 05:46:04 +0000 |
commit | 9bfc60bf8d4cddf04d1ec55e17fb22480da862c1 (patch) | |
tree | b62b7a944d81451c1998aea296e7b589a88d17d7 /gdb | |
parent | d5161074ccccf328ee055eee45b88284939b4fe2 (diff) | |
download | ppe42-binutils-9bfc60bf8d4cddf04d1ec55e17fb22480da862c1.tar.gz ppe42-binutils-9bfc60bf8d4cddf04d1ec55e17fb22480da862c1.zip |
* c-lang.c (c_printstr): Remove ununsed variable WIDTH.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/c-lang.c | 1 |
2 files changed, 4 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index e432894d5d..baf41f0697 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,4 +1,8 @@ 2012-07-06 Siddhesh Poyarekar <siddhesh@redhat.com> + + * c-lang.c (c_printstr): Remove ununsed variable WIDTH. + +2012-07-06 Siddhesh Poyarekar <siddhesh@redhat.com> Jan Kratochvil <jan.kratochvil@redhat.com> * cp-valprint.c (cp_print_value): Replace potentially unsafe diff --git a/gdb/c-lang.c b/gdb/c-lang.c index 28dce8df6b..b5135d57cc 100644 --- a/gdb/c-lang.c +++ b/gdb/c-lang.c @@ -202,7 +202,6 @@ c_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); struct obstack wchar_buf, output; struct cleanup *cleanup; struct wchar_iterator *iter; |