X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=binutils%2Fprdbg.c;h=e582102ab35bf34d36cffc47c9dcfd57e1e221ec;hb=234529260a90b6ac6ed38ddac45d6ed15149e8f8;hp=40cf54b8fe948eae493a06fba3188c9a07fed310;hpb=fd3619828e94a24a92cddec42cbc0ab33352eeb4;p=deliverable%2Fbinutils-gdb.git diff --git a/binutils/prdbg.c b/binutils/prdbg.c index 40cf54b8fe..e582102ab3 100644 --- a/binutils/prdbg.c +++ b/binutils/prdbg.c @@ -2117,6 +2117,7 @@ tg_start_class_type (void *p, const char *tag, unsigned int id, struct pr_handle *info = (struct pr_handle *) p; char *tv = NULL; const char *name; + char idbuf[20]; info->indent += 2; @@ -2131,8 +2132,6 @@ tg_start_class_type (void *p, const char *tag, unsigned int id, name = tag; else { - char idbuf[20]; - sprintf (idbuf, "%%anon%u", id); name = idbuf; }