Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'intern/clog')
-rw-r--r--intern/clog/clog.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/intern/clog/clog.c b/intern/clog/clog.c
index 9a80d99fe73..f725b1c19c4 100644
--- a/intern/clog/clog.c
+++ b/intern/clog/clog.c
@@ -413,7 +413,8 @@ void CLG_log_str(
clg_str_append(&cstr, "\n");
/* could be optional */
- write(lg->ctx->output, cstr.data, cstr.len);
+ int bytes_written = write(lg->ctx->output, cstr.data, cstr.len);
+ (void)bytes_written;
clg_str_free(&cstr);
@@ -448,7 +449,8 @@ void CLG_logf(
clg_str_append(&cstr, "\n");
/* could be optional */
- write(lg->ctx->output, cstr.data, cstr.len);
+ int bytes_written = write(lg->ctx->output, cstr.data, cstr.len);
+ (void)bytes_written;
clg_str_free(&cstr);