mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-06 14:49:38 +08:00
[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:
@ -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. */
|
||||
|
Reference in New Issue
Block a user