diff options
author | Lennart Poettering <lennart@poettering.net> | 2018-11-26 22:12:53 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2018-11-26 22:31:15 +0100 |
commit | f474884cb94bca63fe2d58792d85df8c57b7bb60 (patch) | |
tree | 2fb639539a41a5d33d7a9e930576ea72ab7d1ead /src/libsystemd-network/sd-radv.c | |
parent | sd-radv: make sure we can deal with in_addr_to_string() failing (diff) | |
download | systemd-f474884cb94bca63fe2d58792d85df8c57b7bb60.tar.xz systemd-f474884cb94bca63fe2d58792d85df8c57b7bb60.zip |
sd-radv: no need to initialize r to zero
Diffstat (limited to '')
-rw-r--r-- | src/libsystemd-network/sd-radv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd-network/sd-radv.c b/src/libsystemd-network/sd-radv.c index 33bf4cf79f..faf353e866 100644 --- a/src/libsystemd-network/sd-radv.c +++ b/src/libsystemd-network/sd-radv.c @@ -359,7 +359,7 @@ _public_ int sd_radv_stop(sd_radv *ra) { } _public_ int sd_radv_start(sd_radv *ra) { - int r = 0; + int r; assert_return(ra, -EINVAL); assert_return(ra->event, -EINVAL); |