aboutsummaryrefslogtreecommitdiff
path: root/gdb/mi
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2023-10-18 20:44:11 -0600
committerTom Tromey <tom@tromey.com>2023-11-29 14:29:44 -0700
commit69f6730df3d18216126283864246eaf538bdf91d (patch)
treee17002e214e8d6d2ea423575e29b56f90005b778 /gdb/mi
parentd02f31bb130fd54fa2891cbc28fbc01f603eca6c (diff)
downloadgdb-69f6730df3d18216126283864246eaf538bdf91d.zip
gdb-69f6730df3d18216126283864246eaf538bdf91d.tar.gz
gdb-69f6730df3d18216126283864246eaf538bdf91d.tar.bz2
Remove gdb_static_assert
C++17 makes the second parameter to static_assert optional, so we can remove gdb_static_assert now.
Diffstat (limited to 'gdb/mi')
-rw-r--r--gdb/mi/mi-common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/mi/mi-common.c b/gdb/mi/mi-common.c
index ce70d11..1c1424a 100644
--- a/gdb/mi/mi-common.c
+++ b/gdb/mi/mi-common.c
@@ -43,7 +43,7 @@ static const char * const async_reason_string_lookup[] =
NULL
};
-gdb_static_assert (ARRAY_SIZE (async_reason_string_lookup)
+static_assert (ARRAY_SIZE (async_reason_string_lookup)
== EXEC_ASYNC_LAST + 1);
const char *