[gdb/build] Remove superfluous variable param_types in gdb/python/py-param.c

In gdb/python/py-param.c we have:
...
enum param_types
{
  ...
}
param_types;
...
which declares both an enum param_types, and an unused variable param_types.

Fix this by removing the variable.

Tested on x86_64-linux.

Approved-By: Tom Tromey <tom@tromey.com>
This commit is contained in:
Tom de Vries
2023-08-14 18:32:29 +02:00
parent 980111642d
commit 7f7ecb46c1

View File

@ -44,8 +44,7 @@ enum param_types
param_zuinteger,
param_zuinteger_unlimited,
param_enum,
}
param_types;
};
/* Translation from Python parameters to GDB variable types. Keep in the
same order as PARAM_TYPES due to C++'s lack of designated initializers. */