| Index: tools/json_schema_compiler/cc_generator.py
|
| diff --git a/tools/json_schema_compiler/cc_generator.py b/tools/json_schema_compiler/cc_generator.py
|
| index eaf6fb3e6e48dcc9f2e4e2c4308676ab36e654bf..049cb65b2288a0968729349e2a02b7d39b9f2c12 100644
|
| --- a/tools/json_schema_compiler/cc_generator.py
|
| +++ b/tools/json_schema_compiler/cc_generator.py
|
| @@ -455,12 +455,6 @@ class CCGenerator(object):
|
| c = Code()
|
| c.Sblock('{')
|
|
|
| - if check_type and prop.type_ not in (
|
| - PropertyType.CHOICES, PropertyType.ANY):
|
| - (c.Append('if (!%(value_var)s->IsType(%(value_type)s))')
|
| - .Append(' return %(failure_value)s;')
|
| - )
|
| -
|
| if prop.type_.is_fundamental:
|
| if prop.optional:
|
| (c.Append('%(ctype)s temp;')
|
|
|