mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-09 04:21:49 +08:00
* python/py-param.c (parm_constants): Avoid ARI warning
by adding ARI comment. (parmpy_init): Likewise.
This commit is contained in:
parent
ea1fae46d8
commit
3c0ee1a464
@ -1,3 +1,9 @@
|
||||
2010-04-30 Pierre Muller <muller@ics.u-strasbg.fr>
|
||||
|
||||
* python/py-param.c (parm_constants): Avoid ARI warning
|
||||
by adding ARI comment.
|
||||
(parmpy_init): Likewise.
|
||||
|
||||
2010-04-30 Pierre Muller <muller@ics.u-strasbg.fr>
|
||||
|
||||
* windows-tdep.c (windows_get_tlb_type): Remember last GDBARCH
|
||||
|
@ -36,7 +36,7 @@ struct parm_constant
|
||||
|
||||
struct parm_constant parm_constants[] =
|
||||
{
|
||||
{ "PARAM_BOOLEAN", var_boolean },
|
||||
{ "PARAM_BOOLEAN", var_boolean }, /* ARI: var_boolean */
|
||||
{ "PARAM_AUTO_BOOLEAN", var_auto_boolean },
|
||||
{ "PARAM_UINTEGER", var_uinteger },
|
||||
{ "PARAM_INTEGER", var_integer },
|
||||
@ -475,7 +475,8 @@ parmpy_init (PyObject *self, PyObject *args, PyObject *kwds)
|
||||
return -1;
|
||||
}
|
||||
|
||||
if (parmclass != var_boolean && parmclass != var_auto_boolean
|
||||
if (parmclass != var_boolean /* ARI: var_boolean */
|
||||
&& parmclass != var_auto_boolean
|
||||
&& parmclass != var_uinteger && parmclass != var_integer
|
||||
&& parmclass != var_string && parmclass != var_string_noescape
|
||||
&& parmclass != var_optional_filename && parmclass != var_filename
|
||||
|
Loading…
Reference in New Issue
Block a user