mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-26 10:03:40 +03:00
journal: remove an unnecessary 'else'
This commit is contained in:
parent
0e0b05294b
commit
8d5a1082b0
@ -1648,7 +1648,7 @@ static int journal_file_append_field(
|
|||||||
r = journal_file_find_field_object_with_hash(f, field, size, hash, &o, &p);
|
r = journal_file_find_field_object_with_hash(f, field, size, hash, &o, &p);
|
||||||
if (r < 0)
|
if (r < 0)
|
||||||
return r;
|
return r;
|
||||||
else if (r > 0) {
|
if (r > 0) {
|
||||||
|
|
||||||
if (ret)
|
if (ret)
|
||||||
*ret = o;
|
*ret = o;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user