summaryrefslogtreecommitdiff
path: root/gdb/ax-gdb.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/ax-gdb.c')
-rw-r--r--gdb/ax-gdb.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gdb/ax-gdb.c b/gdb/ax-gdb.c
index 6dea775e7ff..8b3d133a3b6 100644
--- a/gdb/ax-gdb.c
+++ b/gdb/ax-gdb.c
@@ -1049,8 +1049,6 @@ gen_sub (ax, value, value1, value2)
struct agent_expr *ax;
struct axs_value *value, *value1, *value2;
{
- struct type *element;
-
if (value1->type->code == TYPE_CODE_PTR)
{
/* Is it PTR - INT? */
@@ -1943,8 +1941,6 @@ void _initialize_ax_gdb PARAMS ((void));
void
_initialize_ax_gdb ()
{
- struct cmd_list_element *c;
-
add_cmd ("agent", class_maintenance, agent_command,
"Translate an expression into remote agent bytecode.",
&maintenancelist);