summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/psych/yaml/api.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/psych/yaml/api.c b/ext/psych/yaml/api.c
index 03c1379..95dc6b4 100644
--- a/ext/psych/yaml/api.c
+++ b/ext/psych/yaml/api.c
@@ -1122,7 +1122,9 @@ yaml_document_delete(yaml_document_t *document)
} context;
yaml_tag_directive_t *tag_directive;
- context.error = YAML_NO_ERROR; /* Eliminate a compliler warning. */
+ /* Eliminate a compliler warning. */
+ context.error = YAML_NO_ERROR;
+ (void)context.error;
assert(document); /* Non-NULL document object is expected. */