journal: remove an unnecessary 'else'

This commit is contained in:
Lennart Poettering
2021-06-08 23:17:48 +02:00
parent 0e0b05294b
commit 8d5a1082b0

View File

@@ -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;