projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
303d6b4
)
coccinelle: run while-true.cocci again
author
Lennart Poettering
<lennart@poettering.net>
Fri, 23 Mar 2018 15:32:26 +0000
(16:32 +0100)
committer
Lennart Poettering
<lennart@poettering.net>
Fri, 23 Mar 2018 15:32:26 +0000
(16:32 +0100)
src/journal/test-journal.c
patch
|
blob
|
history
diff --git
a/src/journal/test-journal.c
b/src/journal/test-journal.c
index 3b9917b4a8c522afa1be95c79b53f25b95a8544f..f90b7e43755630f40298d52f09a22d63821f1e64 100644
(file)
--- 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)