aboutsummaryrefslogtreecommitdiffstats
path: root/erts/etc
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2017-03-27 07:20:19 -0700
committerLukas Larsson <[email protected]>2017-03-28 10:41:19 +0200
commit158de690ba539f4048ee0634e1d2ee1ffb76a68f (patch)
tree54aa08d457cf5b773498b1e453f8a9d4a04bb26c /erts/etc
parent2079ac0b81d7796d3296d82ed4d11b91f699e139 (diff)
downloadotp-158de690ba539f4048ee0634e1d2ee1ffb76a68f.tar.gz
otp-158de690ba539f4048ee0634e1d2ee1ffb76a68f.tar.bz2
otp-158de690ba539f4048ee0634e1d2ee1ffb76a68f.zip
erts: Fix two compiler warnings on OS X
Diffstat (limited to 'erts/etc')
-rw-r--r--erts/etc/unix/to_erl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/etc/unix/to_erl.c b/erts/etc/unix/to_erl.c
index 0bd469727c..0ccd7ead3e 100644
--- a/erts/etc/unix/to_erl.c
+++ b/erts/etc/unix/to_erl.c
@@ -416,7 +416,7 @@ int main(int argc, char **argv)
if (len) {
#ifdef DEBUG
- if(write(1, buf, len));
+ (void)write(1, buf, len);
#endif
if (write_all(wfd, buf, len) != len) {
fprintf(stderr, "Error in writing to FIFO.\n");