[gdb/build] Remove superfluous variable param_types in gdb/python/py-param.c
authorTom de Vries <tdevries@suse.de>
Mon, 14 Aug 2023 16:32:29 +0000 (18:32 +0200)
committerTom de Vries <tdevries@suse.de>
Mon, 14 Aug 2023 16:32:29 +0000 (18:32 +0200)
commit7f7ecb46c1a863e46c76214d2bc8793b85f796ac
treebd0931be3caf1e4d719a758f157833e96bc86c38
parent980111642db44891500f53c12a939487d95deb68
[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>
gdb/python/py-param.c