aboutsummaryrefslogtreecommitdiff
path: root/gdb/ax.h
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2023-06-20 11:09:18 -0600
committerTom Tromey <tom@tromey.com>2023-06-20 11:21:51 -0600
commit3ba0581955632c4b269bbcf8a458daafc9d167a6 (patch)
tree18715438c105befa4fbdb2142a2a3d3c8823b2bb /gdb/ax.h
parent1e0e3ecd67156ea8a7ecb9e4fb709caa6004bd52 (diff)
downloadfsf-binutils-gdb-3ba0581955632c4b269bbcf8a458daafc9d167a6.zip
fsf-binutils-gdb-3ba0581955632c4b269bbcf8a458daafc9d167a6.tar.gz
fsf-binutils-gdb-3ba0581955632c4b269bbcf8a458daafc9d167a6.tar.bz2
Remove aop_last
aop_last is only used for an assertion. However, due to the '.def' construct in the sources, this assert could never plausibly trigger (the assert predates the use of a .def file here). This patch removes the constant and the assert. Reviewed-by: John Baldwin <jhb@FreeBSD.org>
Diffstat (limited to 'gdb/ax.h')
-rw-r--r--gdb/ax.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/ax.h b/gdb/ax.h
index 1fdecb2..e02aa71 100644
--- a/gdb/ax.h
+++ b/gdb/ax.h
@@ -154,7 +154,6 @@ enum agent_op
aop_ ## NAME = VALUE,
#include "gdbsupport/ax.def"
#undef DEFOP
- aop_last
};