summaryrefslogtreecommitdiff
path: root/src/libsystemd-network/sd-dhcp-server.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libsystemd-network/sd-dhcp-server.c')
-rw-r--r--src/libsystemd-network/sd-dhcp-server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd-network/sd-dhcp-server.c b/src/libsystemd-network/sd-dhcp-server.c
index 2d3eaa35e3..50d9b7fcfc 100644
--- a/src/libsystemd-network/sd-dhcp-server.c
+++ b/src/libsystemd-network/sd-dhcp-server.c
@@ -919,7 +919,7 @@ int sd_dhcp_server_start(sd_dhcp_server *server) {
int sd_dhcp_server_forcerenew(sd_dhcp_server *server) {
unsigned i;
- int r;
+ int r = 0;
assert_return(server, -EINVAL);
assert(server->bound_leases);