diff options
author | Vito Caputo <vito.caputo@coreos.com> | 2016-02-19 16:51:41 -0800 |
---|---|---|
committer | Vito Caputo <vito.caputo@coreos.com> | 2016-02-19 18:50:16 -0800 |
commit | 69a3a6fd3d96101d42a01d0e7d33ae2ef613e54a (patch) | |
tree | af9fb43c235af981643c4efb27ad166fe5a3d89f /src/journal/test-journal.c | |
parent | fb42603752444ad7a8b4e29a6e264cab7e219e9c (diff) |
journal: add void cast to journal_file_close() calls
Diffstat (limited to 'src/journal/test-journal.c')
-rw-r--r-- | src/journal/test-journal.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/journal/test-journal.c b/src/journal/test-journal.c index 0334b1cd1a..94d26a2573 100644 --- a/src/journal/test-journal.c +++ b/src/journal/test-journal.c @@ -107,7 +107,7 @@ static void test_non_empty(void) { journal_file_rotate(&f, true, true); journal_file_rotate(&f, true, true); - journal_file_close(f); + (void) journal_file_close(f); log_info("Done..."); @@ -158,10 +158,10 @@ static void test_empty(void) { assert_se(rm_rf(t, REMOVE_ROOT|REMOVE_PHYSICAL) >= 0); } - journal_file_close(f1); - journal_file_close(f2); - journal_file_close(f3); - journal_file_close(f4); + (void) journal_file_close(f1); + (void) journal_file_close(f2); + (void) journal_file_close(f3); + (void) journal_file_close(f4); } int main(int argc, char *argv[]) { |