* c-lang.c (print_wchar): Remove unnecessary cast.
This commit is contained in:
parent
083147ab81
commit
3f7f5fe45a
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
2009-05-13 Joel Brobecker <brobecker@adacore.com>
|
||||
|
||||
* c-lang.c (print_wchar): Remove unnecessary cast.
|
||||
|
||||
2009-05-12 Jim Blandy <jimb@red-bean.com>
|
||||
|
||||
* MAINTAINERS: Remove self as m32c target maintainer.
|
||||
|
|
|
@ -166,7 +166,7 @@ print_wchar (gdb_wint_t w, const gdb_byte *orig, int orig_len,
|
|||
&& w != LCST ('8')
|
||||
&& w != LCST ('9'))))
|
||||
{
|
||||
gdb_wchar_t wchar = (gdb_wchar_t) w;
|
||||
gdb_wchar_t wchar = w;
|
||||
|
||||
if (w == gdb_btowc (quoter) || w == LCST ('\\'))
|
||||
obstack_grow_wstr (output, LCST ("\\"));
|
||||
|
|
Loading…
Reference in a new issue