diff options
author | Frantisek Sumsal <frantisek@sumsal.cz> | 2020-10-09 15:06:34 +0200 |
---|---|---|
committer | Frantisek Sumsal <frantisek@sumsal.cz> | 2020-10-09 15:11:55 +0200 |
commit | d46b79bbe0e821b921a8f3874c5ea4b50bde9252 (patch) | |
tree | 55a773a28d00b05ec82ccb9998c265c6996aa111 /src/libsystemd-network/sd-dhcp-lease.c | |
parent | tree-wide: assorted coccinelle fixes (diff) | |
download | systemd-d46b79bbe0e821b921a8f3874c5ea4b50bde9252.tar.xz systemd-d46b79bbe0e821b921a8f3874c5ea4b50bde9252.zip |
tree-wide: drop if braces around single line expressions as well
Diffstat (limited to 'src/libsystemd-network/sd-dhcp-lease.c')
-rw-r--r-- | src/libsystemd-network/sd-dhcp-lease.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libsystemd-network/sd-dhcp-lease.c b/src/libsystemd-network/sd-dhcp-lease.c index 0aa6a63c0a..5f89d00452 100644 --- a/src/libsystemd-network/sd-dhcp-lease.c +++ b/src/libsystemd-network/sd-dhcp-lease.c @@ -1233,9 +1233,8 @@ int dhcp_lease_load(sd_dhcp_lease **ret, const char *lease_file) { if (!a) return -ENOMEM; - if (!strv_isempty(a)) { + if (!strv_isempty(a)) lease->search_domains = TAKE_PTR(a); - } } if (routes) { |