summaryrefslogtreecommitdiff
path: root/src/journal/test-journal-verify.c
diff options
context:
space:
mode:
authorVito Caputo <vito.caputo@coreos.com>2016-02-19 16:51:41 -0800
committerVito Caputo <vito.caputo@coreos.com>2016-02-19 18:50:16 -0800
commit69a3a6fd3d96101d42a01d0e7d33ae2ef613e54a (patch)
treeaf9fb43c235af981643c4efb27ad166fe5a3d89f /src/journal/test-journal-verify.c
parentfb42603752444ad7a8b4e29a6e264cab7e219e9c (diff)
journal: add void cast to journal_file_close() calls
Diffstat (limited to 'src/journal/test-journal-verify.c')
-rw-r--r--src/journal/test-journal-verify.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/journal/test-journal-verify.c b/src/journal/test-journal-verify.c
index a26c624f41..3fec18c480 100644
--- a/src/journal/test-journal-verify.c
+++ b/src/journal/test-journal-verify.c
@@ -60,7 +60,7 @@ static int raw_verify(const char *fn, const char *verification_key) {
return r;
r = journal_file_verify(f, verification_key, NULL, NULL, NULL, false);
- journal_file_close(f);
+ (void) journal_file_close(f);
return r;
}
@@ -107,7 +107,7 @@ int main(int argc, char *argv[]) {
free(test);
}
- journal_file_close(f);
+ (void) journal_file_close(f);
log_info("Verifying...");
@@ -123,7 +123,7 @@ int main(int argc, char *argv[]) {
format_timestamp(b, sizeof(b), to),
format_timespan(c, sizeof(c), total > to ? total - to : 0, 0));
- journal_file_close(f);
+ (void) journal_file_close(f);
if (verification_key) {
log_info("Toggling bits...");