* c-lang.c (c_printstr): Remove ununsed variable WIDTH.
authorSiddhesh Poyarekar <siddhesh@sourceware.org>
Fri, 6 Jul 2012 05:46:04 +0000 (05:46 +0000)
committerSiddhesh Poyarekar <siddhesh@sourceware.org>
Fri, 6 Jul 2012 05:46:04 +0000 (05:46 +0000)
gdb/ChangeLog
gdb/c-lang.c

index e432894d5d150924448b8b1404dafb80ccac2c63..baf41f0697942d13e661afc73db0554841cabaa8 100644 (file)
@@ -1,3 +1,7 @@
+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>
 
index 28dce8df6bd18b1f205279dde6fc8c075d716761..b5135d57cc7e59600a2347f67a489e64c7f10495 100644 (file)
@@ -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;
This page took 0.028744 seconds and 4 git commands to generate.