Use gdb_static_assert in charset.c
authorChristian Biesinger <cbiesinger@google.com>
Mon, 7 Oct 2019 17:33:06 +0000 (12:33 -0500)
committerChristian Biesinger <cbiesinger@google.com>
Mon, 7 Oct 2019 17:49:26 +0000 (12:49 -0500)
commit51f1fdc3d2235ffe94172b51d33fec0e5c5edeca
tree10bd5c388c1fb5ccdc6928fb6ad3dfe316b2bb33
parent606813d5cd94f2fc69351881a2279798eda12c99
Use gdb_static_assert in charset.c

It currently has a "manual" static assert.

gdb/ChangeLog:

2019-10-07  Christian Biesinger  <cbiesinger@google.com>

* charset.c (your_gdb_wchar_t_is_bogus): Replace with a
gdb_static_assert.
gdb/ChangeLog
gdb/charset.c