summaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
authorTobias Jungel <Tobias.Jungel@gmail.com>2016-06-06 14:03:07 +0200
committerDaniel Mack <github@zonque.org>2016-06-06 14:03:07 +0200
commit45819e7cbfe5bd9044faca0f1e6e1145d7c0cfaa (patch)
tree693222379158a21eeed18e38d447d252d1173dfc /src/network
parent0738b927a1ec80549e92bc70ded6959b4c6a8c57 (diff)
networkd: remove unused variable (#3447)
this patch solves the following waring: ../src/network/networkd-ndisc.c:197:13: warning: unused variable ‘r’ [-Wunused-variable] int r; fixes acac5b2f
Diffstat (limited to 'src/network')
-rw-r--r--src/network/networkd-ndisc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/network/networkd-ndisc.c b/src/network/networkd-ndisc.c
index 7359cc2b67..a0d4fa77d8 100644
--- a/src/network/networkd-ndisc.c
+++ b/src/network/networkd-ndisc.c
@@ -194,7 +194,6 @@ static void ndisc_router_handler(sd_ndisc *nd, uint8_t flags, const struct in6_a
static void ndisc_handler(sd_ndisc *nd, int event, void *userdata) {
Link *link = userdata;
- int r;
assert(link);