aboutsummaryrefslogtreecommitdiff
path: root/gdb/valprint.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/valprint.c')
-rw-r--r--gdb/valprint.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/valprint.c b/gdb/valprint.c
index 5af31ea..3feb915 100644
--- a/gdb/valprint.c
+++ b/gdb/valprint.c
@@ -1149,7 +1149,6 @@ val_print_string (CORE_ADDR addr, int len, int width, struct ui_file *stream)
found_nul = 0;
old_chain = make_cleanup (null_cleanup, 0);
- bufptr = NULL;
if (len > 0)
{
buffer = (char *) xmalloc (len * width);