summaryrefslogtreecommitdiff
path: root/json.c
diff options
context:
space:
mode:
Diffstat (limited to 'json.c')
-rw-r--r--json.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/json.c b/json.c
index 5398d956..3f3278f7 100644
--- a/json.c
+++ b/json.c
@@ -210,11 +210,7 @@ static int json_internal_read_object(const char *cp,
lptr[0] = '\0';
break;
case t_boolean:
- /* nullbool default says not to set the value at all */
- /*@+boolint@*/
- if (cursor->dflt.boolean != nullbool)
- *((bool *) lptr) = cursor->dflt.boolean;
- /*@-boolint@*/
+ *((bool *) lptr) = cursor->dflt.boolean;
break;
case t_character:
lptr[0] = cursor->dflt.character;