* python/py-param.c (parm_constants): Avoid ARI warning

by adding ARI comment.
	(parmpy_init): Likewise.
This commit is contained in:
Pierre Muller 2010-04-30 16:22:42 +00:00
parent ea1fae46d8
commit 3c0ee1a464
2 changed files with 9 additions and 2 deletions

View File

@ -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

View File

@ -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