aboutsummaryrefslogtreecommitdiffstats
path: root/ext/psych/yaml/emitter.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/psych/yaml/emitter.c')
-rw-r--r--ext/psych/yaml/emitter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/psych/yaml/emitter.c b/ext/psych/yaml/emitter.c
index c852f9309f..bf84fafc51 100644
--- a/ext/psych/yaml/emitter.c
+++ b/ext/psych/yaml/emitter.c
@@ -53,7 +53,7 @@
#define WRITE_BREAK(emitter,string) \
(FLUSH(emitter) \
&& (CHECK(string,'\n') ? \
- (PUT_BREAK(emitter), \
+ ((void)PUT_BREAK(emitter), \
string.pointer ++, \
1) : \
(COPY(emitter->buffer,string), \