1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-01-12 09:17:44 +03:00

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;