From: Siddhesh Poyarekar Date: Fri, 6 Jul 2012 05:46:04 +0000 (+0000) Subject: * c-lang.c (c_printstr): Remove ununsed variable WIDTH. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9bfc60bf8d4cddf04d1ec55e17fb22480da862c1;p=binutils-gdb.git * c-lang.c (c_printstr): Remove ununsed variable WIDTH. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index e432894d5d1..baf41f06979 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2012-07-06 Siddhesh Poyarekar + + * c-lang.c (c_printstr): Remove ununsed variable WIDTH. + 2012-07-06 Siddhesh Poyarekar Jan Kratochvil 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;