aboutsummaryrefslogtreecommitdiff
path: root/gdb/python/py-param.c
diff options
context:
space:
mode:
authorPierre Muller <muller@sourceware.org>2010-04-30 16:22:42 +0000
committerPierre Muller <muller@sourceware.org>2010-04-30 16:22:42 +0000
commit3c0ee1a46468d89b8865cd70616af4558c499b16 (patch)
treeffe848c160eed07df70cff10369b2e66819162fa /gdb/python/py-param.c
parentea1fae46d894fe78aec8a26e8e167b5352265624 (diff)
downloadgdb-3c0ee1a46468d89b8865cd70616af4558c499b16.zip
gdb-3c0ee1a46468d89b8865cd70616af4558c499b16.tar.gz
gdb-3c0ee1a46468d89b8865cd70616af4558c499b16.tar.bz2
* python/py-param.c (parm_constants): Avoid ARI warning
by adding ARI comment. (parmpy_init): Likewise.
Diffstat (limited to 'gdb/python/py-param.c')
-rw-r--r--gdb/python/py-param.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/python/py-param.c b/gdb/python/py-param.c
index 36f96f5..20ac993 100644
--- a/gdb/python/py-param.c
+++ b/gdb/python/py-param.c
@@ -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