From: Lennart Poettering Date: Tue, 8 Jun 2021 21:17:48 +0000 (+0200) Subject: journal: remove an unnecessary 'else' X-Git-Tag: v249-rc1~53^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8d5a1082b09ebc6ed9d4e940b6e5bfdd346d05b2;p=thirdparty%2Fsystemd.git journal: remove an unnecessary 'else' --- diff --git a/src/libsystemd/sd-journal/journal-file.c b/src/libsystemd/sd-journal/journal-file.c index 03c2c50eccd..a67aa0f803c 100644 --- a/src/libsystemd/sd-journal/journal-file.c +++ b/src/libsystemd/sd-journal/journal-file.c @@ -1648,7 +1648,7 @@ static int journal_file_append_field( r = journal_file_find_field_object_with_hash(f, field, size, hash, &o, &p); if (r < 0) return r; - else if (r > 0) { + if (r > 0) { if (ret) *ret = o;