summaryrefslogtreecommitdiff
path: root/gdb/c-lang.c
diff options
context:
space:
mode:
authorsiddhesh <siddhesh>2012-07-06 05:46:04 +0000
committersiddhesh <siddhesh>2012-07-06 05:46:04 +0000
commit18a6235847292894cccdb4270602350f25d87104 (patch)
treeb96b30b996edaec23301dc0cabf12c9de488155c /gdb/c-lang.c
parent4ec2ded38f5946e4b66ccb5488328c56d395f8ed (diff)
downloadgdb-18a6235847292894cccdb4270602350f25d87104.tar.gz
* 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 28dce8df6bd..b5135d57cc7 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;