aboutsummaryrefslogtreecommitdiff
path: root/gdb/c-lang.c
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@sourceware.org>2012-07-06 05:46:04 +0000
committerSiddhesh Poyarekar <siddhesh@sourceware.org>2012-07-06 05:46:04 +0000
commit9bfc60bf8d4cddf04d1ec55e17fb22480da862c1 (patch)
treeb62b7a944d81451c1998aea296e7b589a88d17d7 /gdb/c-lang.c
parentd5161074ccccf328ee055eee45b88284939b4fe2 (diff)
downloadgdb-9bfc60bf8d4cddf04d1ec55e17fb22480da862c1.zip
gdb-9bfc60bf8d4cddf04d1ec55e17fb22480da862c1.tar.gz
gdb-9bfc60bf8d4cddf04d1ec55e17fb22480da862c1.tar.bz2
* c-lang.c (c_printstr): Remove ununsed variable WIDTH.
Diffstat (limited to 'gdb/c-lang.c')
-rw-r--r--gdb/c-lang.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/c-lang.c b/gdb/c-lang.c
index 28dce8d..b5135d5 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;