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:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2018-05-13 15:10:05 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2018-05-13 15:48:55 +0300
commit7a2e271e5439d1888b21e4dafe782027f6ef0f77 (patch)
tree81b5981478350b28c49f12d390c7de5ca0a42907 /intern/clog
parent3469e623d3174ff4e82c430478640dfacd0e63ff (diff)
Fix compiler warnings.
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 e93ba9ec2b7..87a021ad35b 100644
--- a/intern/clog/clog.c
+++ b/intern/clog/clog.c
@@ -404,7 +404,8 @@ void CLG_log_str(
clg_str_append(&cstr, "\n");
/* could be optional */
- write(lg->ctx->output, cstr.data, cstr.len);
+ ssize_t bytes_written = write(lg->ctx->output, cstr.data, cstr.len);
+ (void)bytes_written;
clg_str_free(&cstr);
@@ -435,7 +436,8 @@ void CLG_logf(
clg_str_append(&cstr, "\n");
/* could be optional */
- write(lg->ctx->output, cstr.data, cstr.len);
+ ssize_t bytes_written = write(lg->ctx->output, cstr.data, cstr.len);
+ (void)bytes_written;
clg_str_free(&cstr);