From: Lennart Poettering Date: Fri, 23 Mar 2018 15:32:26 +0000 (+0100) Subject: coccinelle: run while-true.cocci again X-Git-Tag: v239~479^2~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d2f646828e90513355ab61855556242b32a14e48;p=thirdparty%2Fsystemd.git coccinelle: run while-true.cocci again --- diff --git a/src/journal/test-journal.c b/src/journal/test-journal.c index 3b9917b4a8c..f90b7e43755 100644 --- a/src/journal/test-journal.c +++ b/src/journal/test-journal.c @@ -200,7 +200,7 @@ static bool check_compressed(uint64_t compress_threshold, uint64_t data_size) { /* We have to partially reimplement some of the dump logic, because the normal next_entry does the * decompression for us. */ p = le64toh(f->header->header_size); - while (true) { + for (;;) { r = journal_file_move_to_object(f, OBJECT_UNUSED, p, &o); assert_se(r == 0); if (o->object.type == OBJECT_DATA)